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 CKAD Exam - Topic 3 Question 72 Discussion

Actual exam question for Linux Foundation's CKAD exam
Question #: 72
Topic #: 3
[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
Shannan
4 days ago
Sounds good, but make sure the namespace is correct!
upvoted 0 times
...
Marvel
9 days ago
Wait, why 8080? Isn't 80 the default for NGINX?
upvoted 0 times
...
Galen
14 days ago
Totally agree, 4 replicas are a solid choice!
upvoted 0 times
...
Janna
20 days ago
Just a heads up, the image version is 1.13.7.
upvoted 0 times
...
Ernest
25 days ago
Haha, NGINX__PORT, someone's been watching too much Spongebob.
upvoted 0 times
...
Brandee
30 days ago
4 replicas, nice! Gotta make sure the deployment scales well.
upvoted 0 times
...
Domingo
1 month ago
Hmm, the environment variable name seems a bit odd, but I guess it's a custom setting.
upvoted 0 times
...
Arlene
1 month ago
This looks straightforward, just need to make sure the namespace and container image are correct.
upvoted 0 times
...
Emilio
2 months ago
I know I need to use the `kubectl` command, but I’m uncertain if I should include the `--namespace` flag or just set it in the YAML file.
upvoted 0 times
...
German
2 months ago
I practiced a deployment with multiple replicas, but I’m a bit confused about how to expose the port correctly.
upvoted 0 times
...
Gayla
2 months ago
This question feels similar to the practice one about creating a deployment, but I can't recall if I need to specify the namespace in the command.
upvoted 0 times
...
Kathryn
3 months ago
I think I remember how to create a deployment, but I'm not sure about the exact syntax for setting the environment variable.
upvoted 0 times
...
Dannie
3 months ago
Hmm, this looks like a standard deployment creation task. I'll need to use the `kubectl create deployment` command and then set the appropriate flags for the namespace, name, replicas, image, and environment variable. I'm confident I can handle this, but I'll double-check the syntax just to be sure.
upvoted 0 times
...
Ernest
3 months ago
Okay, this seems pretty straightforward. I'll need to use the `kubectl create deployment` command, and then configure the deployment with the specified parameters. I'm a bit unsure about the environment variable syntax, but I'll look it up in the documentation to make sure I get it right.
upvoted 0 times
...
Victor
3 months ago
Alright, let's do this. I'm going to create the deployment using the `kubectl create deployment` command, and then use the `--namespace`, `--replicas`, `--image`, and `--env` flags to configure it as required. Shouldn't be too tricky, as long as I get the details right.
upvoted 0 times
...
Annita
3 months ago
Hmm, this looks straightforward enough. I'll need to use the `kubectl create deployment` command and specify the namespace, name, replicas, image, and environment variable. Shouldn't be too difficult, but I'll need to double-check the syntax.
upvoted 0 times
...
Sheridan
3 months ago
Okay, let's see. I'll need to create a new deployment in the kdpd00201 namespace, with the name "frontend" and 4 replicas. The container image is lfccncf/nginx:1.13.7, and I'll need to set an environment variable of NGINX__PORT=8080 and expose that port.
upvoted 0 times
...

Save Cancel