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:

The containers in the pods should use the nginx image, right?
upvoted 0 times
...
Stevie
2 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
5 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
...
Dudley
7 days ago
Yes, and we should expose it via a service called nginx-random.
upvoted 0 times
...
Lacey
8 days ago
I think we need to create a deployment named nginx-random.
upvoted 0 times
...
Valentine
10 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
12 days ago
The deployment name, service name, and container image are all specified correctly. This should work as expected.
upvoted 0 times
...

Save Cancel