Refer to Exhibit.

Task
A deployment is falling on the cluster due to an incorrect image being specified. Locate the deployment, and fix the problem.
Suggested Answer: A
Get Premium CKAD Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
36 comments · newest first
CH
Cherilyn
11 months ago
Just double-checking, but is there a typo in the command?
AL
Alfred
11 months ago
I thought the default image was always the latest version?
KI
Kimbery
12 months ago
Wait, is the deployment even created yet?
LI
Lindy
12 months ago
Totally agree, that’s a common mistake!
JE
Jesus
1 year ago
The image should be nginx:1.17.4, not just nginx.
SE
Serina
1 year ago
I definitely remember the `kubectl set image` command, but I'm unsure if I should specify the container name before the image.
VI
Vinnie
1 year ago
I feel like the command for updating the image is right, but I might be mixing up the deployment name. Was it `hello-deploy` or something else?
ER
Erick
1 year ago
I think we did a similar question where we had to update a deployment image, but I can't recall if we used the `--dry-run` option.
RA
Ranee
1 year ago
I remember practicing how to set the image for deployments, but I'm not entirely sure about the exact syntax for the command.
NI
Nilsa
1 year ago
Okay, I think I've got a plan. First, I'll use `kubectl get deployments` to find the problematic deployment. Then, I'll use `kubectl set image` to update the image to the correct one.
ED
Edward
1 year ago
Ah, I see the issue now. The deployment is using an incorrect image, so I'll need to update that. I'll try the solution provided in the options and see if that works.
CR
Crissy
1 year ago
This looks like a straightforward deployment issue. I'll start by using `kubectl get deployments` to locate the problematic deployment, then use `kubectl set image` to update the image.
SH
Shoshana
1 year ago
Hmm, I'm a bit unsure about this one. I'll need to carefully review the exhibit and the task description to make sure I understand exactly what's going on before I start making changes.
AV
Avery
1 year ago
Hmm, I'm a bit unsure about this one. I know data lakes can handle structured, semi-structured, and unstructured data, but I'm not sure if that's the best solution for this organization's needs.
EL
Eladia
1 year ago
Alright, let's think this through step-by-step. The question states that the sandbox instance currently has no permissions configured, so we need to set up the necessary properties. The resource_id and client_id seem like the obvious choices, but I'm not sure about the other options. I'll make my best guess and then double-check my work.
EU
Eura
2 years ago
As long as the cluster has the right permissions, Option A should do the trick. Though I'd test it in a non-production environment first, just to be safe.
JE
Jeannetta
1 year ago
User1: Definitely, better safe than sorry when making changes to the cluster.
HO
Hortencia
1 year ago
User2: I agree, it's always a good idea to test changes in a non-production environment first.
NO
Norah
1 year ago
User1: Option A looks like the solution to fix the incorrect image in the deployment.
MA
Margret
2 years ago
A simple 'kubectl set image' command, easy peasy. I'm just hoping the real exam questions aren't as obvious as this one.
RI
Rikki
1 year ago
Let's practice some more just to be safe.
FR
Franchesca
1 year ago
I hope the actual exam questions are a bit more challenging.
LE
Leila
1 year ago
Yeah, just need to update the image with kubectl set image command.
MO
Monroe
2 years ago
I agree, this one seems pretty straightforward.
FR
Freeman
2 years ago
Haha, I bet the question writer was hoping we'd fall for some tricky answer choices. Option A is clearly the way to go here.
GR
Graciela
2 years ago
Yeah, the question seems tricky but option A is definitely the correct choice.
VE
Veronica
2 years ago
I agree, option A is the most straightforward solution.
FE
Fernanda
2 years ago
A fix for the image is exactly what the task is asking for. Option A looks like it covers that nicely.
LE
Lenny
2 years ago
I agree, we can use kubectl set image command to fix the problem.
AR
Ardella
2 years ago
The image issue seems pretty straightforward. I'd go with the solution in Option A.
XO
Xochitl
1 year ago
The steps in Option A should help us resolve the incorrect image specified in the deployment.
BL
Blondell
1 year ago
After updating the deployment image, we should check if the deployment is running correctly.
TE
Teri
1 year ago
Let's try running the commands provided in Option A to update the deployment image.
AL
Aliza
1 year ago
I agree, Option A looks like the best solution to fix the image issue.
CA
Carma
2 years ago
Yes, we need to locate the deployment and update the image to nginx:1.17.4.
LE
Lenny
2 years ago
I think the question is about fixing a deployment issue with incorrect image.