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
Iluminada
4 days ago
Wait, do we really need to write the output to those specific paths?
upvoted 0 times
...
Katie
9 days ago
Totally agree, nginx is super reliable for this!
upvoted 0 times
...
Graciela
14 days ago
Sounds straightforward, just need to set up the deployment and service.
upvoted 0 times
...
Pearlene
20 days ago
Wait, we're supposed to use nginx? I was planning on deploying a clown car instead.
upvoted 0 times
...
Jolanda
25 days ago
Hmm, the DNS record part could be tricky. I'll need to double-check my work on that.
upvoted 0 times
...
Bev
30 days ago
Piece of cake! I've done similar deployments before, so this should be a breeze.
upvoted 0 times
...
Barney
1 month ago
The requirement to use the nslookup utility is a nice touch. I'll make sure to capture the output as specified.
upvoted 0 times
...
Maile
1 month ago
This question is straightforward. I'm confident I can complete this task.
upvoted 0 times
...
Scarlet
2 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.
upvoted 0 times
...
Carla
2 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?
upvoted 0 times
...
Meaghan
2 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.
upvoted 0 times
...
Annmarie
3 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.
upvoted 0 times
...
Marjory
3 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.
upvoted 0 times
...
Ariel
3 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.
upvoted 0 times
...
Bette
3 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
3 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
3 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