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

Posted by Rose on Jan 23, 2026 at 08:10 PM

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.

Suggested Answer: A

Solution:


Get Premium CKA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
SH
Shala 4 months ago
Just remember to check the service and pod names!
KA
Katlyn 4 months ago
I’m worried about the DNS lookup step.
CA
Caren 4 months ago
I feel confident about the deployment part.
AS
Ashton 4 months ago
This question is tricky!
MA
Marvel 6 months ago
Not sure if the nginx image is the best choice for all scenarios, though.
TA
Tarra 6 months ago
Yup, that's how you ensure DNS records are checked properly!
IL
Iluminada 6 months ago
Wait, do we really need to write the output to those specific paths?
KA
Katie 6 months ago
Totally agree, nginx is super reliable for this!
GR
Graciela 6 months ago
Sounds straightforward, just need to set up the deployment and service.
PE
Pearlene 7 months ago
Wait, we're supposed to use nginx? I was planning on deploying a clown car instead.
JO
Jolanda 7 months ago
Hmm, the DNS record part could be tricky. I'll need to double-check my work on that.
BE
Bev 7 months ago
Piece of cake! I've done similar deployments before, so this should be a breeze.
BA
Barney 7 months ago
The requirement to use the nslookup utility is a nice touch. I'll make sure to capture the output as specified.
MA
Maile 7 months ago
This question is straightforward. I'm confident I can complete this task.
SC
Scarlet 8 months 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.
CA
Carla 8 months 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?
ME
Meaghan 8 months ago
I practiced a similar question last week, and I think I need to use `kubectl expose` to create the service after the deployment.
AN
Annmarie 9 months 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.
MA
Marjory 9 months 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.
AR
Ariel 9 months 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.
BE
Bette 9 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.
MI
Mignon 9 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.
DE
Dexter 9 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.
AN
Anglea 3 months ago
↳ replying to Dexter
How do I check the DNS records after that?
DA
Darci 3 months ago
↳ replying to Dexter
Don’t forget to expose it via the service!
MI
Miesha 4 months ago
↳ replying to Dexter
I’ll set up the nginx-random deployment now.
0/2000 characters

Save Cancel