Step 1: Calculate effective gravity.
Since the lift moves downward with acceleration \(2\,\text{m s}^{-2}\),
\[
g_{\text{eff}}=g-a=10-2=8\,\text{m s}^{-2}.
\]
Step 2: Calculate the weight and buoyant force.
Volume of the cube,
\[
V=(0.1)^3=10^{-3}\,\text{m}^3.
\]
Density of cube,
\[
\rho_c=1.5\,\text{g cm}^{-3}=1500\,\text{kg m}^{-3}.
\]
Weight,
\[
W=\rho_c V g_{\text{eff}}
=1500\times10^{-3}\times8
=12\,\text{N}.
\]
Buoyant force,
\[
F_B=\rho_w V g_{\text{eff}}
=1000\times10^{-3}\times8
=8\,\text{N}.
\]
Step 3: Find the work done.
Required pulling force,
\[
F=W-F_B=12-8=4\,\text{N}.
\]
Distance moved,
\[
s=1\,\text{m}.
\]
Therefore,
\[
W=Fs=4\times1=4\,\text{J}.
\]
Hence,
\[
\boxed{4\,\text{J}}
\]
Therefore,
\[
\boxed{(D)}
\]
is the correct answer.