U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKAD Exam - Topic 5 Question 46 Discussion

Refer to Exhibit.TaskCreate a new deployment for running.nginx with the following parameters;* Run the deployment in the kdpd00201 namespace. The namespace has already been created* Name the deployment frontend and configure with 4 replicas* Configure the pod with a container image of lfccncf/nginx:1.13.7* Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above
A) Explanation: Solution:

Linux Foundation CKAD Exam - Topic 5 Question 46 Discussion

Actual exam question for Linux Foundation's CKAD exam
Question #: 46
Topic #: 5
[All CKAD Questions]

Refer to Exhibit.

Task

Create a new deployment for running.nginx with the following parameters;

* Run the deployment in the kdpd00201 namespace. The namespace has already been created

* Name the deployment frontend and configure with 4 replicas

* Configure the pod with a container image of lfccncf/nginx:1.13.7

* Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Jade
7 months ago
I thought we were supposed to use the latest image, not an older one.
upvoted 0 times
...
Tawny
7 months ago
Setting NGINX__PORT=8080 is a smart move!
upvoted 0 times
...
Leota
7 months ago
Wait, why are we using nginx 1.13.7? Isn’t that kinda old?
upvoted 0 times
...
Glory
7 months ago
Totally agree, 4 replicas is a solid choice!
upvoted 0 times
...
Melina
8 months ago
The deployment should be in the kdpd00201 namespace.
upvoted 0 times
...
Denae
8 months ago
I remember we had to expose a port in a previous exercise, but I can't quite recall if it was done in the same section as the environment variables.
upvoted 0 times
...
Kristofer
8 months ago
I feel a bit uncertain about the namespace part. Did we cover how to specify that in the deployment YAML?
upvoted 0 times
...
Justine
8 months ago
This question seems similar to one we practiced where we had to set up a service. I hope I can recall the right commands for the deployment.
upvoted 0 times
...
Cherrie
8 months ago
I think I remember how to create a deployment, but I'm not entirely sure about the exact syntax for setting the environment variable.
upvoted 0 times
...
Brittni
8 months ago
No problem, I've done similar tasks before. I'll just need to pay close attention to the details, like the namespace, replica count, and container image version.
upvoted 0 times
...
Ellsworth
8 months ago
Hmm, I'm a bit unsure about the environment variable and port exposure. Let me double-check the requirements to make sure I have that part right.
upvoted 0 times
...
Thurman
8 months ago
This looks like a straightforward deployment task. I'll start by creating the namespace, then define the deployment with the required parameters.
upvoted 0 times
...
Jeannine
9 months ago
Okay, I think I've got this. I'll create the deployment in the specified namespace, set the replica count to 4, and use the provided container image. The environment variable and port exposure should be easy to add.
upvoted 0 times
...
Elli
9 months ago
Okay, let me think this through. The question is asking about assignment blocks that are part of the cross catalog mapping in SAP S/4HANA Service: SOM. I'll need to recall what I know about those concepts.
upvoted 0 times
...
German
1 year ago
Wait, is that the correct image tag? 1.13.7? I thought Nginx was up to version 1.19 by now. *scratches head in confusion*
upvoted 0 times
Ernie
1 year ago
User1: That makes sense, better safe than sorry.
upvoted 0 times
...
Shawn
1 year ago
User2: Yeah, sometimes it's better to stick with a known version for stability.
upvoted 0 times
...
Yesenia
1 year ago
User1: Maybe they are using a specific version for compatibility.
upvoted 0 times
...
...
Jerry
1 year ago
This is a piece of cake! I could do this with my eyes closed. *winks dramatically*
upvoted 0 times
Jamey
1 year ago
User 4: I'm confident we can all handle this deployment.
upvoted 0 times
...
Cecil
1 year ago
User 3: Just follow the steps and you'll have it up and running in no time.
upvoted 0 times
...
Kathrine
1 year ago
User 2: Yeah, it looks pretty straightforward.
upvoted 0 times
...
Elinore
1 year ago
User 1: This is a piece of cake! I could do this with my eyes closed. *winks dramatically*
upvoted 0 times
...
...
Kenneth
1 year ago
Whoa, 4 replicas? That's a lot of Nginx pods. I hope my cluster can handle the load. *sweats nervously*
upvoted 0 times
...
Micaela
1 year ago
Hmm, the environment variable name seems a bit unusual. But I guess that's what they're looking for. Time to copy and paste!
upvoted 0 times
Katheryn
1 year ago
Ressie: Alright, time to copy and paste the configuration.
upvoted 0 times
...
Ashleigh
1 year ago
User 2: Just follow the instructions and copy-paste it.
upvoted 0 times
...
Tricia
1 year ago
User 1: Yeah, the environment variable name is a bit strange.
upvoted 0 times
...
Glen
1 year ago
User 3: Just follow the instructions and set it as specified.
upvoted 0 times
...
Ressie
1 year ago
User 2: Yeah, it does look odd, but that's what the task requires.
upvoted 0 times
...
Elroy
1 year ago
User 1: The environment variable name is a bit strange, NGINX__PORT=8080.
upvoted 0 times
...
...
Ty
1 year ago
Looks good! Exactly what the question is asking for. I'd better double-check my work, though, just to be sure.
upvoted 0 times
...
Corrie
1 year ago
We also need to configure the pod with the lfccncf/nginx:1.13.7 image and set NGINX_PORT=8080.
upvoted 0 times
...
Franklyn
1 year ago
Yes, we need to run it in the kdpd00201 namespace with 4 replicas named frontend.
upvoted 0 times
...
Corrie
1 year ago
I think the question is asking us to create a new deployment for nginx.
upvoted 0 times
...

Save Cancel