Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 1 Question 80 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 80
Topic #: 1
[All CKA Questions]

Create a deployment as follows:

Name: nginx-app

Using container nginx with version 1.11.10-alpine

The deployment should contain 3 replicas

Next, deploy the application with new version 1.11.13-alpine, by performing a rolling update.

Finally, rollback that update to the previous version 1.11.10-alpine.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Bobbye
4 months ago
I thought 1.11.13 had some bugs, so rollback makes sense.
upvoted 0 times
...
Dottie
4 months ago
Totally agree, rolling updates are the way to go!
upvoted 0 times
...
Lenna
4 months ago
Wait, why rollback to 1.11.10? Isn’t 1.11.13 better?
upvoted 0 times
...
Edna
4 months ago
Rolling update to 1.11.13-alpine was smooth!
upvoted 0 times
...
Jonelle
5 months ago
Just created an nginx deployment with 3 replicas!
upvoted 0 times
...
Aja
5 months ago
I think I saw a question like this in our mock exams. The deployment should be straightforward, but I need to double-check the versioning for the update and rollback.
upvoted 0 times
...
Curt
5 months ago
I feel confident about setting up the initial deployment, but rolling back is a bit fuzzy for me. I hope I can remember the rollback command!
upvoted 0 times
...
Latonia
5 months ago
I think the rolling update part is similar to what we did in the last session, but I can't recall the exact syntax for the kubectl command.
upvoted 0 times
...
Berry
5 months ago
I remember we practiced creating deployments with specific replicas, but I'm not sure about the exact command for the rolling update.
upvoted 0 times
...
Kaycee
5 months ago
Alright, time to put my Kubernetes skills to the test. I'll start by creating the deployment, then use the rolling update functionality to upgrade to the new version, and finally roll it back to the previous version. Gotta love those Kubernetes commands!
upvoted 0 times
...
Jaime
5 months ago
No problem, I've got this. I'll use `kubectl create deployment` to set up the initial deployment, then `kubectl set image` to update to the new version, and finally `kubectl rollout undo` to roll it back. Easy peasy!
upvoted 0 times
...
Lucina
5 months ago
Whoa, this is a tricky one. Updating and rolling back a deployment? I'm not sure I've practiced this before. Let me think through the steps carefully and make sure I don't mess anything up.
upvoted 0 times
...
Bulah
5 months ago
Hmm, okay, I think I can handle this. First, I'll need to create the deployment, then update it to the new version, and finally roll it back. Shouldn't be too difficult, just need to remember the right commands.
upvoted 0 times
...
India
6 months ago
This looks like a straightforward deployment and update question. I'll start by creating the initial deployment with 3 replicas of the nginx:1.11.10-alpine container.
upvoted 0 times
...
Thad
11 months ago
Wait, are we allowed to use kubectl? I was planning on just manually editing the YAML files. I hope that's not against the rules...
upvoted 0 times
Jesusita
9 months ago
Don't worry, using kubectl is allowed and it's the recommended way to manage deployments.
upvoted 0 times
...
Alecia
10 months ago
It's more efficient to use kubectl for these tasks, rather than manually editing YAML files.
upvoted 0 times
...
Barabara
10 months ago
Yes, you can use kubectl to create the deployment and perform the rolling update.
upvoted 0 times
...
...
Paz
11 months ago
Haha, rolling updates and rollbacks? That's child's play! I could do this in my sleep. This exam is going to be a breeze.
upvoted 0 times
Timothy
10 months ago
You got this! Good luck with your exam preparation.
upvoted 0 times
...
Paulina
10 months ago
Practice makes perfect, so keep practicing those deployment scenarios.
upvoted 0 times
...
Gianna
10 months ago
Rolling updates and rollbacks are important concepts to understand.
upvoted 0 times
...
Na
11 months ago
I'm glad you're feeling confident about the exam!
upvoted 0 times
...
...
Lennie
11 months ago
Looks good! The key steps are creating the initial deployment, then updating the image to the new version, and finally rolling back to the previous version. Shouldn't be too difficult.
upvoted 0 times
Dorthy
10 months ago
Yes, just need to make sure to follow each step carefully.
upvoted 0 times
...
Ayesha
11 months ago
I agree, it seems like a straightforward process.
upvoted 0 times
...
...
Marvel
11 months ago
I believe we need to carefully manage the replicas during the update.
upvoted 0 times
...
Clay
11 months ago
This deployment task seems straightforward. I'll use the `kubectl set image` command to perform the rolling update and `kubectl rollout undo` to rollback the deployment.
upvoted 0 times
...
Edison
11 months ago
I agree, especially the rolling update part.
upvoted 0 times
...
Marvel
11 months ago
I think the deployment task is quite challenging.
upvoted 0 times
...

Save Cancel