[guided]We choose the smallest possible product space because a universal inequality must survive every special case. Set $\Omega_p:=\{0,1\}$, set $\mathcal{F}_p:=2^{\{0,1\}}$, and define the probability measure $\mathbb{P}_p:\mathcal{F}_p\to[0,1]$ by $\mathbb{P}_p(\{1\})=p$ and $\mathbb{P}_p(\{0\})=1-p$. Define the random variable $X_p:(\Omega_p,\mathcal{F}_p)\to(\{0,1\},2^{\{0,1\}})$ by $X_p(\omega)=\omega$. Then $X_p$ has Bernoulli distribution with parameter $p$, meaning $\mathbb{P}_p(X_p=1)=p$ and $\mathbb{P}_p(X_p=0)=1-p$. The tuple has only one random variable, and a one-member family is independent by the definition of independence for finite subfamilies.
The function is the indicator of the success state: define $f_p:\{0,1\}\to\mathbb{R}$ by $f_p(x)=\mathbb{1}_{\{1\}}(x)$.
This function is measurable because every subset of $\{0,1\}$ is measurable. Also $f_p(X_p)=X_p$, and since $X_p$ takes only the values $0$ and $1$, it is square-integrable.
Now check the bounded-differences condition. With one coordinate, two points differ only in coordinate $1$ precisely when they are two points of $\{0,1\}$. For any $x,x' \in \{0,1\}$,
\begin{align*}
|f_p(x)-f_p(x')| \le 1.
\end{align*}
The value $1$ is actually attained, because
\begin{align*}
|f_p(1)-f_p(0)|=|1-0|=1.
\end{align*}
Thus $c_1=1$ is a valid bounded-difference constant, even the sharp one. Consequently the McDiarmid proxy is independent of $p$:
\begin{align*}
\frac{1}{4}c_1^2=\frac{1}{4}.
\end{align*}
This fixed lower size is the point of the example: the bounded-difference proxy records the worst possible change of the function, not how likely that change is under the input distribution.[/guided]