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 2 Question 82 Discussion

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

Create a deployment as follows:

Name: nginx-random

Exposed via a service nginx-random

Ensure that the service & pod are accessible via their respective DNS records

The container(s) within any pod(s) running as a part of this deployment should use the nginx Image

Next, use the utility nslookup to look up the DNS records of the service & pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Dudley
11 days ago
Exactly, and we need to make sure the service and pod are accessible via their DNS records.
upvoted 0 times
...
Lacey
12 days ago
The containers in the pods should use the nginx image, right?
upvoted 0 times
...
Stevie
14 days ago
This question is a good test of our Kubernetes knowledge. I'm confident I can nail this one, as long as I don't accidentally deploy a pod that runs on Internet Explorer. That would be a real disaster!
upvoted 0 times
...
Louis
17 days ago
Haha, I bet the exam proctors will be impressed if we include some witty comments. How about this one: 'Hey, at least they didn't ask us to create a deployment for a web server that serves cat memes!'
upvoted 0 times
Johanna
1 days ago
I agree, adding some humor can make the task more enjoyable.
upvoted 0 times
...
Mitsue
7 days ago
That would definitely lighten the mood during the exam!
upvoted 0 times
...
...
Dudley
19 days ago
Yes, and we should expose it via a service called nginx-random.
upvoted 0 times
...
Lacey
20 days ago
I think we need to create a deployment named nginx-random.
upvoted 0 times
...
Valentine
22 days ago
Using 'nslookup' to write the DNS records to the specified paths is a nice touch. Seems like a straightforward solution to me.
upvoted 0 times
...
Fletcher
24 days ago
The deployment name, service name, and container image are all specified correctly. This should work as expected.
upvoted 0 times
Nu
4 days ago
json_images/CKA/ChoiceImage_3cf82f412-3460-4328-bcb5-709c9c44339c.png
upvoted 0 times
...
Stevie
10 days ago
json_images/CKA/ChoiceImage_2cf82f412-3460-4328-bcb5-709c9c44339c.png
upvoted 0 times
...
...

Save Cancel