Cyber Monday 2024! 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:

Fletcher
3 days 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
5 days ago
I agree. We can use kubectl run command with the specified options to achieve that.
upvoted 0 times
...
Francoise
11 days 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
12 days 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
...
Fletcher
21 days ago
I think we need to create a nginx pod with label env=test in engineering namespace.
upvoted 0 times
...
Tula
25 days 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
Devon
16 days ago
User2: Yeah, it definitely saves time.
upvoted 0 times
...
Rickie
18 days ago
User1: I agree, the second option is more efficient.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77