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 Exam CKA Topic 4 Question 76 Discussion

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

Create a nginx pod with label env=test in engineering namespace

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Murray
1 months ago
I'm just gonna go with the YAML file option. It's the most explicit and leaves the least room for error. Plus, who doesn't love a good YAML file, am I right? *cricket sounds*
upvoted 0 times
...
Hortencia
1 months ago
Wait, we're supposed to create a pod, not a deployment? I thought this was supposed to be an easy question. *scratches head*
upvoted 0 times
Mignon
17 days ago
Once you have the YAML file ready, you can create the nginx pod in the engineering namespace.
upvoted 0 times
...
Jesse
17 days ago
Remember to use the correct command and YAML file to create the nginx pod with the 'env=test' label in the engineering namespace.
upvoted 0 times
...
Tomas
25 days ago
Don't worry, it's a common mistake. Let's focus on creating the nginx pod with the specified label in the engineering namespace.
upvoted 0 times
...
Ocie
29 days ago
Yes, we are creating a pod, not a deployment. Just follow the steps provided.
upvoted 0 times
...
...
Fletcher
1 months ago
Yes, we can also create a YAML file with the pod configuration and then apply it using kubectl create command.
upvoted 0 times
...
Joni
1 months ago
I agree. We can use kubectl run command with the specified options to achieve that.
upvoted 0 times
...
Francoise
2 months ago
Haha, I bet the exam writer is hoping we'll go for the first option. But I'm feeling rebellious today, so I'm going to choose the second one just to be different.
upvoted 0 times
...
Delsie
2 months ago
The YAML file looks good, but I think I'd prefer to use the first option. I like the idea of generating the YAML and then applying it separately.
upvoted 0 times
Janey
17 days ago
User 3: I agree, it's a cleaner way to create the nginx pod with the specified label in the engineering namespace.
upvoted 0 times
...
Alysa
17 days ago
User 2: Yeah, generating the YAML and then applying it separately seems like a good idea.
upvoted 0 times
...
Altha
19 days ago
User 1: The YAML file looks good, but I think I'd prefer to use the first option.
upvoted 0 times
...
...
Fletcher
2 months ago
I think we need to create a nginx pod with label env=test in engineering namespace.
upvoted 0 times
...
Tula
2 months ago
Wow, this is a straightforward question. I'd go with the second option - piping the YAML directly to kubectl create. Saves me a step of creating the YAML file first.
upvoted 0 times
Wade
1 months ago
User1: Let's go with piping the YAML directly to kubectl create.
upvoted 0 times
...
Rosalia
1 months ago
User3: I always prefer to streamline the process.
upvoted 0 times
...
Devon
2 months ago
User2: Yeah, it definitely saves time.
upvoted 0 times
...
Rickie
2 months ago
User1: I agree, the second option is more efficient.
upvoted 0 times
...
...

Save Cancel