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 3 Question 94 Discussion

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

SIMULATION

Create a deployment as follows:

Name: nginx-random

Exposed via a service nginx-random

Ensure that the service and 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 and pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.

Show Suggested Answer Hide Answer
Suggested Answer: A

Solution:


Contribute your Thoughts:

0/2000 characters
Scarlet
9 hours ago
I believe I have to use `nslookup` for both the service and pod, but I can't recall if I need to specify any flags or options when running the command.
upvoted 0 times
...
Carla
5 days ago
I'm a bit confused about the DNS records part. Do I need to check the service and pod names exactly as they are defined in the deployment?
upvoted 0 times
...
Meaghan
28 days ago
I practiced a similar question last week, and I think I need to use `kubectl expose` to create the service after the deployment.
upvoted 0 times
...
Annmarie
1 month ago
I think I remember how to create a deployment with the nginx image, but I'm not entirely sure about the exact syntax for the service.
upvoted 0 times
...
Marjory
1 month ago
Alright, let's do this. I'll start by creating the deployment and service, then use nslookup to verify the DNS records. Gotta make sure I get those file paths right though.
upvoted 0 times
...
Ariel
1 month ago
This seems like a good opportunity to demonstrate my Kubernetes skills. I'll make sure to double-check my work to ensure the deployment, service, and DNS records are all set up properly.
upvoted 0 times
...
Bette
2 months ago
Okay, I think I've got a plan. First I'll create the deployment and service, then use nslookup to check the DNS records and write the output to the specified files. Shouldn't be too difficult as long as I remember the right commands.
upvoted 0 times
...
Mignon
2 months ago
Hmm, I'm a bit unsure about how to set up the DNS records for the service and pod. I'll need to review my notes on Kubernetes DNS to make sure I do that part correctly.
upvoted 0 times
...
Dexter
2 months ago
This looks like a pretty straightforward deployment question. I'll start by creating the nginx-random deployment and service, making sure the container uses the nginx image.
upvoted 0 times
...

Save Cancel