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 12 Question 50 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 50
Topic #: 12
[All CKA Questions]

Score:7%

Task

Create a new PersistentVolumeClaim

* Name: pv-volume

* Class: csi-hostpath-sc

* Capacity: 10Mi

Create a new Pod which mounts the PersistentVolumeClaim as a volume:

* Name: web-server

* Image: nginx

* Mount path: /usr/share/nginx/html

Configure the new Pod to have ReadWriteOnce access on the volume.

Finally, using kubectl edit or kubectl patch expand the PersistentVolumeClaim to a capacity of 70Mi and record that change.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Gregoria
4 months ago
Good catch on the storage size, but it’s fine for testing!
upvoted 0 times
...
Cristal
4 months ago
I thought we could use ReadWriteMany for this?
upvoted 0 times
...
Christiane
4 months ago
Wait, why only 10Mi? Seems too small for a web server.
upvoted 0 times
...
Cordelia
4 months ago
Totally agree, consistency is key!
upvoted 0 times
...
Brandon
5 months ago
Just a reminder, the PVC name should match in both files!
upvoted 0 times
...
Marta
5 months ago
I definitely need to double-check the command for expanding the PersistentVolumeClaim. I think it’s `kubectl edit`, but I’m not 100% sure about the flags.
upvoted 0 times
...
Willard
5 months ago
I’m a bit confused about the access modes. I know it’s ReadWriteOnce, but I hope I don’t mix it up with ReadOnlyMany.
upvoted 0 times
...
Lura
5 months ago
This question seems similar to the practice ones we did last week, especially the part about mounting the volume in the Pod.
upvoted 0 times
...
Jamal
5 months ago
I think I remember how to create a PersistentVolumeClaim, but I'm not entirely sure about the exact syntax for the YAML file.
upvoted 0 times
...
Carmelina
5 months ago
Wait, do I need to use kubectl patch instead of kubectl edit to expand the PVC capacity? I want to make sure I record the change properly.
upvoted 0 times
...
Nana
5 months ago
Okay, this looks straightforward enough. I'll just follow the steps in the question and use the provided information to create the necessary resources.
upvoted 0 times
...
Sharika
5 months ago
Hmm, I'm a bit unsure about the exact YAML syntax for the PVC and Pod. I'll need to review the example closely and make sure I get the details right.
upvoted 0 times
...
Celeste
5 months ago
I think I've got a good handle on this. I'll start by creating the PersistentVolumeClaim YAML file, then the Pod YAML file, and finally use kubectl edit to expand the PVC capacity.
upvoted 0 times
...
Ilona
6 months ago
Hmm, I'm a bit unsure about this one. Creating the DHCP server profile first seems logical, but I'm not sure if that's the right approach here. Let me re-read the question and options.
upvoted 0 times
...
Louann
6 months ago
I remember RDS supports MySQL, SQL Server, and PostgreSQL, but I'm a bit unsure about Oracle.
upvoted 0 times
...
Lindsey
6 months ago
Okay, I think I've got it. The Max Target sets the desired RAID level for the primary data volume, while the Min Target sets the desired RAID level for the associated mirror and snapshot volumes. That makes sense in terms of the data protection requirements.
upvoted 0 times
...
Alysa
6 months ago
I'm a bit confused here. I thought services could enter various roles depending on the context. Maybe I misinterpreted the examples we covered.
upvoted 0 times
...

Save Cancel