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 CKAD Exam - Topic 1 Question 39 Discussion

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

Refer to Exhibit.

Task:

1) First update the Deployment cka00017-deployment in the ckad00017 namespace:

*To run 2 replicas of the pod

*Add the following label on the pod:

Role userUI

2) Next, Create a NodePort Service named cherry in the ckad00017 nmespace exposing the ckad00017-deployment Deployment on TCP port 8888

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Willie
4 months ago
I thought NodePort was only for external access, not sure about this.
upvoted 0 times
...
Miesha
4 months ago
Yup, exposing on TCP port 8888 is spot on!
upvoted 0 times
...
Filiberto
4 months ago
Wait, do we really need a NodePort service for this? Seems overkill.
upvoted 0 times
...
Ceola
4 months ago
Totally agree, that’s the way to go!
upvoted 0 times
...
Jolene
5 months ago
Just update the replicas to 2 and add the label "Role: userUI".
upvoted 0 times
...
Gabriele
5 months ago
I feel confident about updating the replicas, but I might mix up the namespace names if I'm not careful.
upvoted 0 times
...
Karl
5 months ago
I’m a bit confused about the NodePort service part. I know it exposes the deployment, but I can't remember how to specify the port correctly.
upvoted 0 times
...
Lindsey
5 months ago
This question seems similar to one we practiced where we had to scale a deployment. I hope I can recall the right steps for that.
upvoted 0 times
...
Vinnie
5 months ago
I think I remember how to update the deployment, but I'm not entirely sure about the exact command syntax for adding labels.
upvoted 0 times
...
Maybelle
5 months ago
No problem, I've got this. I'll start by using 'kubectl edit deployment' to update the Deployment, then 'kubectl expose' to create the NodePort Service. Shouldn't take more than a few minutes to knock this out.
upvoted 0 times
...
Leslee
5 months ago
Wait, I'm a bit confused. Do I need to create the Deployment first, or can I just update the existing one? And what's the syntax for setting the label on the pods? I better review my Kubernetes commands before jumping in.
upvoted 0 times
...
Marva
5 months ago
Okay, I've got this. Updating the Deployment is easy - just use the 'kubectl set' command to set the replicas and add the label. For the Service, I'll use 'kubectl expose' to create the NodePort Service and specify the port. Should be a quick one!
upvoted 0 times
...
Danilo
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the instructions and make sure I don't miss any details. Updating the Deployment and creating the Service seem straightforward, but I'll double-check my work to ensure I've met all the requirements.
upvoted 0 times
...
Ardella
5 months ago
Okay, let's break this down step-by-step. First, I'll need to update the Deployment to run 2 replicas and add the 'Role userUI' label to the pods. Then, I'll create a NodePort Service named 'cherry' in the 'ckad00017' namespace, exposing the 'ckad00017-deployment' Deployment on TCP port 8888.
upvoted 0 times
...
Katie
6 months ago
I've got a good strategy for this. I'll start by eliminating any options that clearly don't require the 'syskm' privilege, then focus in on the remaining ones that might.
upvoted 0 times
...
Man
6 months ago
I remember that we practiced a similar scenario where cookie forwarding was necessary to maintain session state, so I wonder if that applies here too.
upvoted 0 times
...
Elvera
6 months ago
I recall AWS Kinesis Data Analytics being powerful, and option D seems to align well with running SQL queries in real-time. But is Parquet the best format for analytics?
upvoted 0 times
...
Bulah
6 months ago
Okay, I think I've got this. The question is saying that the Block field component can organize the content, and the default value is hidden. So the answer must be TRUE.
upvoted 0 times
...
Chantay
6 months ago
I'm a bit confused about whether we should go with the value in use or the fair value for the asset. I think it depends on which one is higher?
upvoted 0 times
...
Willard
11 months ago
This is like a Kubernetes scavenger hunt! Where's the 'Find the hidden Kubernetes resource' bonus question?
upvoted 0 times
Art
9 months ago
User4: Let's focus on updating the Deployment and creating the NodePort Service first.
upvoted 0 times
...
Brande
9 months ago
User3: I wonder where the hidden Kubernetes resource is.
upvoted 0 times
...
Cory
10 months ago
User2: Yeah, it's like a scavenger hunt in Kubernetes.
upvoted 0 times
...
Shizue
11 months ago
User1: This task looks challenging!
upvoted 0 times
...
...
Marge
11 months ago
I agree. It's important to follow the instructions carefully to ensure we complete the task correctly.
upvoted 0 times
...
Aileen
11 months ago
Wait, is that a unicorn in the background? I'm getting distracted by the beautiful artwork here.
upvoted 0 times
Cecily
10 months ago
I agree, the artwork is nice, but let's stay on track with the task at hand.
upvoted 0 times
...
Jaime
11 months ago
Yes, it does look like a unicorn! But let's focus on updating the Deployment first.
upvoted 0 times
...
...
Virgilio
11 months ago
Alright, let's do this! Time to show off my Kubernetes skills.
upvoted 0 times
...
Rolande
11 months ago
Okay, so I need to update the Deployment to have 2 replicas and add the 'Role userUI' label. Then create a NodePort Service exposing the Deployment on port 8888. Simple enough.
upvoted 0 times
...
Miesha
11 months ago
Yes, we need to run 2 replicas of the pod and add a label to it. Then create a NodePort Service exposing the Deployment on port 8888.
upvoted 0 times
...
Aileen
11 months ago
Hmm, this seems straightforward. Let me double-check the instructions.
upvoted 0 times
Diego
10 months ago
Got it. Let's follow the steps in the instructions carefully.
upvoted 0 times
...
Kattie
11 months ago
After that, we create a NodePort Service named cherry on TCP port 8888.
upvoted 0 times
...
Dacia
11 months ago
Yes, we need to set the replicas to 2 and add the label 'Role: userUI'.
upvoted 0 times
...
Becky
11 months ago
I think we need to update the Deployment first.
upvoted 0 times
...
...
Marge
12 months ago
I think the question is asking us to update a Deployment and create a NodePort Service.
upvoted 0 times
...

Save Cancel