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 1 Question 70 Discussion

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

Refer to Exhibit.

Set Configuration Context:

[student@node-1] $ | kubectl

Config use-context k8s

Context

A web application requires a specific version of redis to be used as a cache.

Task

Create a pod with the following characteristics, and leave it running when complete:

* The pod must run in the web namespace.

The namespace has already been created

* The name of the pod should be cache

* Use the Ifccncf/redis image with the 3.2 tag

* Expose port 6379

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Delisa
11 hours ago
I feel confident about it.
upvoted 0 times
...
Janey
5 days ago
This question is tricky.
upvoted 0 times
...
Eun
24 days ago
Seems straightforward, but I hope the namespace is set up correctly.
upvoted 0 times
...
Winfred
29 days ago
Don't forget to expose port 6379 for Redis!
upvoted 0 times
...
Mona
1 month ago
Wait, are we sure the image is still maintained?
upvoted 0 times
...
Tora
1 month ago
The namespace part seems straightforward, but I'm still a bit fuzzy on how to properly expose the port.
upvoted 0 times
...
Dalene
1 month ago
Haha, I bet the exam proctors are getting tired of all these redis questions!
upvoted 0 times
...
Charlena
2 months ago
Looks good, but I would use the full image name instead of just the tag.
upvoted 0 times
...
Emiko
2 months ago
I remember we need to expose the port, but I can't recall if that should be done in the same command or separately.
upvoted 0 times
...
Ruby
2 months ago
I'm a bit confused about the image tag; is it `Ifccncf/redis:3.2` or something else? I hope I don't mix that up.
upvoted 0 times
...
Rosalind
2 months ago
I practiced a similar question where we had to create a pod with a specific image, so I think I can use the `kubectl run` command for this.
upvoted 0 times
...
Ressie
2 months ago
I think I remember that we need to specify the namespace when creating the pod, but I'm not entirely sure how to do that in the command.
upvoted 0 times
...
Micaela
3 months ago
This looks pretty straightforward. I'll just create a pod in the web namespace with the specified image, name, and port. Shouldn't take more than a couple commands.
upvoted 0 times
...
Soledad
3 months ago
Wait, do I need to use a deployment or just a plain pod? And what about resource limits or requests? I want to make sure I cover all the bases here.
upvoted 0 times
...
Luke
3 months ago
Totally agree, that's the right version for caching!
upvoted 0 times
...
Andra
3 months ago
You need to use the Ifccncf/redis image with the 3.2 tag.
upvoted 0 times
...
Paris
4 months ago
Shouldn't we also set the environment variables for the redis configuration?
upvoted 0 times
...
Georgene
4 months ago
Okay, I got this. First, I'll switch to the web namespace, then use the kubectl run command to create the pod with the right image, name, and port. Should be straightforward.
upvoted 0 times
...
Evangelina
4 months ago
Hmm, I'm a bit unsure about the namespace part. I'll need to double-check the syntax for that. And I'm not totally familiar with the image and tag, so I'll have to look that up.
upvoted 0 times
...
Jamey
4 months ago
I think I can handle this. I'll start by creating the namespace, then use the correct image and tag to create the pod with the specified name and port.
upvoted 0 times
Floyd
3 months ago
Sounds like a solid plan!
upvoted 0 times
...
...

Save Cancel