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 2 Question 97 Discussion

Posted by Sang on Apr 10, 2026 at 12:22 AM

SIMULATION

Score: 4%

Task

Create a pod named kucc8 with a single app container for each of the following images running inside (there may be between 1 and 4 images specified): nginx + redis + memcached .

Suggested Answer: A

Solution:

kubectl run kucc8 --image=nginx --dry-run -o yaml > kucc8.yaml

# vi kucc8.yaml

apiVersion: v1

kind: Pod

metadata:

creationTimestamp: null

name: kucc8

spec:

containers:

- image: nginx

name: nginx

- image: redis

name: redis

- image: memcached

name: memcached

- image: consul

name: consul

#

kubectl create -f kucc8.yaml

#12.07


Get Premium CKA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
LA
Lauran 2 months ago
I hope I can manage all three in one pod!
MA
Mariann 2 months ago
Memcached is straightforward, just need to remember the syntax.
MA
Marsha 2 months ago
Redis needs proper configuration, though.
OR
Orville 2 months ago
I think nginx is the easiest to start with.
LO
Lorrie 3 months ago
I feel overwhelmed by the images.
MO
Mozell 3 months ago
This question is tricky!
FA
Fausto 3 months ago
Combining them all is a challenge!
CH
Cherrie 3 months ago
I’d go with memcached for simplicity.
LI
Lisha 3 months ago
Redis is essential for caching, right?
CL
Claribel 3 months ago
I think nginx is the easiest to start with.
LA
Lajuana 4 months ago
I feel overwhelmed by the images.
MI
Mila 4 months ago
This question is tricky!
EL
Eladia 4 months ago
Redis and memcached together? That's an interesting choice!
SI
Sina 4 months ago
I think it's fine as long as they're lightweight images.
FE
Felice 4 months ago
Wait, can you really run all three in one pod? Seems like a lot!
SE
Selma 6 months ago
Totally agree, nginx needs to be set up properly to route traffic.
CA
Cassi 6 months ago
Just a reminder, you need to specify the correct ports for each container!
RA
Raina 7 months ago
I practiced creating pods with multiple containers, but I can't remember if I need to include resource limits for each container in this case.
TA
Taryn 7 months ago
I feel a bit uncertain about the order of the images; should I list them in a specific way when defining the pod?
JA
Jacklyn 7 months ago
This seems similar to a practice question we did on containers, but I can't recall if we had to specify ports for each one.
YE
Yen 7 months ago
I think I remember how to create a pod, but I'm not sure about the exact syntax for multiple containers.
0/2000 characters

Save Cancel