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 Exam CKA Topic 4 Question 61 Discussion

Actual exam question for Linux Foundation's Certified Kubernetes Administrator exam
Question #: 61
Topic #: 4
[All Certified Kubernetes Administrator Questions]

Score: 4%

Task

Create a persistent volume with name app-data , of capacity 1Gi and access mode ReadOnlyMany. The type of volume is hostPath and its location is /srv/app-data .

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Leatha
4 months ago
Looks good, but I might add a comment about the importance of keeping your YAML files organized and version-controlled. You don't want to end up with a tangled web of config files!
upvoted 0 times
...
Leontine
4 months ago
This is easy peasy, I could do this with my eyes closed! *wink*
upvoted 0 times
Valene
3 months ago
Easy peasy lemon squeezy!
upvoted 0 times
...
Alesia
3 months ago
I've done this a million times, no sweat!
upvoted 0 times
...
Wynell
3 months ago
I know right, it's a piece of cake!
upvoted 0 times
...
...
Maile
4 months ago
Hmm, the path should be '/srv/app-data' not '/srv/app-config', right?
upvoted 0 times
Leatha
3 months ago
Good catch! It's important to have the correct path for the persistent volume to work properly.
upvoted 0 times
...
Meghann
4 months ago
Oh, I see. Thanks for pointing that out. I will make sure to update the path in the configuration file.
upvoted 0 times
...
Lindsey
4 months ago
Yes, you are correct. The path should be '/srv/app-data' instead of '/srv/app-config'.
upvoted 0 times
...
...
Yuki
4 months ago
I think the access mode should be 'ReadWriteMany' instead of 'ReadOnlyMany' to allow multiple pods to access the volume.
upvoted 0 times
Colene
3 months ago
I agree, changing the access mode to 'ReadWriteMany' is a good idea.
upvoted 0 times
...
Lura
4 months ago
You're right, 'ReadWriteMany' would be better for multiple pod access.
upvoted 0 times
...
Viki
4 months ago
I agree, changing the access mode to 'ReadWriteMany' is a good idea.
upvoted 0 times
...
Graciela
4 months ago
You're right, 'ReadWriteMany' would be better for multiple pod access.
upvoted 0 times
...
Vincenza
4 months ago
But the task specifically asks for 'ReadOnlyMany'.
upvoted 0 times
...
...
Louisa
5 months ago
Looks good, but shouldn't the volume name be 'app-data' instead of 'app-config'?
upvoted 0 times
Levi
4 months ago
Great, everything should be good to go once we confirm the persistent volume 'app-data' is created with ReadOnlyMany access mode.
upvoted 0 times
...
Lorriane
4 months ago
After creating the volume, we can verify its status to ensure it was created successfully with the correct name.
upvoted 0 times
...
Ashley
4 months ago
I see, thanks for pointing that out. I will make sure to update the volume name to 'app-data'.
upvoted 0 times
...
Dyan
4 months ago
Yes, you are correct. The volume name should be 'app-data' as specified in the task.
upvoted 0 times
...
Quentin
4 months ago
Got it, I'll update the yaml file with the correct volume name and then create the persistent volume.
upvoted 0 times
...
Pearly
4 months ago
Let's make sure to double-check the name before running the kubectl command to create the volume.
upvoted 0 times
...
Theola
4 months ago
Exactly, once we update the name to 'app-data', we can proceed with creating the persistent volume.
upvoted 0 times
...
Jin
4 months ago
I see, so we need to change the name in the yaml file to 'app-data' before creating the persistent volume.
upvoted 0 times
...
Louvenia
4 months ago
Yes, you are correct. The volume name should be 'app-data' as mentioned in the task.
upvoted 0 times
...
...

Save Cancel