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 CKA Exam - 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:

0/2000 characters
Theola
3 months ago
Totally agree, that’s a must for tracking!
upvoted 0 times
...
Elenor
3 months ago
Make sure to check the DNS records after!
upvoted 0 times
...
Katy
4 months ago
Wait, do we really need to write the output to those specific paths?
upvoted 0 times
...
Audra
4 months ago
I thought nginx was just for web serving, not for DNS stuff too?
upvoted 0 times
...
Lai
4 months ago
Just set up the nginx-random deployment!
upvoted 0 times
...
Brandon
4 months ago
I feel like I’ve seen this setup before in our labs, but I’m not 100% confident about the deployment name needing to match the service name exactly.
upvoted 0 times
...
Laticia
4 months ago
I definitely need to check the DNS records with nslookup, but I'm a bit confused about where to write the output files. Is it really /opt/KUNW00601?
upvoted 0 times
...
Louvenia
5 months ago
I practiced a similar question where we had to expose a service, but I can't recall if I need to specify the type of service for this one.
upvoted 0 times
...
Serina
5 months ago
I think I remember how to create a deployment, but I'm not entirely sure about the exact command syntax for the nginx image.
upvoted 0 times
...
Billye
5 months ago
Okay, let me think this through step-by-step. First, I'll create the deployment with the nginx image. Then I'll create a service to expose it. Finally, I'll use nslookup to verify the DNS records. I think I can handle this, but I'll double-check my work to make sure I don't miss anything.
upvoted 0 times
...
Glendora
5 months ago
No problem, I've done this kind of thing before. I'll create the deployment, expose it with a service, and then use nslookup to check the DNS records. As long as I follow the instructions carefully, I should be able to get this done quickly.
upvoted 0 times
...
Fernanda
5 months ago
Hmm, I'm a bit unsure about the specifics here. I'll need to review the Kubernetes documentation on deployments and services to make sure I'm doing this correctly. Hopefully I can figure it out in time.
upvoted 0 times
...
Kayleigh
5 months ago
This looks like a straightforward deployment task, but I'll need to be careful to get the details right. I'll start by creating the deployment and service, then use nslookup to verify the DNS records.
upvoted 0 times
...
Dudley
11 months ago
Exactly, and we need to make sure the service and pod are accessible via their DNS records.
upvoted 0 times
...
Lacey
12 months ago
The containers in the pods should use the nginx image, right?
upvoted 0 times
...
Stevie
12 months 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
12 months 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
Veronique
10 months ago
Haha, good one! It's always nice to inject some fun into technical tasks.
upvoted 0 times
...
Johanna
11 months ago
I agree, adding some humor can make the task more enjoyable.
upvoted 0 times
...
Mitsue
11 months ago
That would definitely lighten the mood during the exam!
upvoted 0 times
...
...
Dudley
12 months ago
Yes, and we should expose it via a service called nginx-random.
upvoted 0 times
...
Lacey
12 months ago
I think we need to create a deployment named nginx-random.
upvoted 0 times
...
Valentine
12 months 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 months ago
The deployment name, service name, and container image are all specified correctly. This should work as expected.
upvoted 0 times
...

Save Cancel