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 CKAD Topic 5 Question 55 Discussion

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

Context

Task:

Update the Pod ckad00018-newpod in the ckad00018 namespace to use a NetworkPolicy allowing the Pod to send and receive traffic only to and from the pods web and db

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Eleni
2 months ago
As long as the restrictedservice account has the proper RBAC permissions, this should be a straightforward update. No need to overcomplicate it.
upvoted 0 times
...
Serina
2 months ago
Wait, does this mean I can't use my secret admin password anymore? Bummer, there goes my weekend plans.
upvoted 0 times
Launa
24 days ago
No problem! Feel free to ask if you have any more questions about the task.
upvoted 0 times
...
Reiko
1 months ago
Phew, that's a relief. I was worried for a second there. Thanks for clarifying!
upvoted 0 times
...
Ramonita
1 months ago
Don't worry, you can still use your secret admin password. This task is just about updating the Pod's network policy.
upvoted 0 times
...
...
Norah
2 months ago
Yes, we can add 'serviceAccountName: restrictedservice' under spec.template.spec in the deployment yaml.
upvoted 0 times
...
Maricela
2 months ago
I believe we need to edit the deployment yaml file to specify the service account.
upvoted 0 times
...
Rebecka
2 months ago
This question is a piece of cake! Just gotta update the deployment with the right service account, easy peasy.
upvoted 0 times
Isadora
1 months ago
Let's double check our work before submitting.
upvoted 0 times
...
Kristofer
1 months ago
I think we just need to specify the pods web and db in the NetworkPolicy.
upvoted 0 times
...
Emmett
2 months ago
Just need to make sure we update the NetworkPolicy correctly.
upvoted 0 times
...
Gertude
2 months ago
I agree, this task seems pretty straightforward.
upvoted 0 times
...
...
Daniel
3 months ago
Hmm, I wonder if the restrictedservice account has the necessary permissions to run the app-a deployment. Better double-check that.
upvoted 0 times
Leonida
2 months ago
User 2: Good idea, we need to make sure it has the necessary permissions.
upvoted 0 times
...
Kathrine
2 months ago
User 1: I will verify the permissions for the restrictedservice account.
upvoted 0 times
...
...
Ngoc
3 months ago
I agree, updating the deployment to use a specific service account can be challenging.
upvoted 0 times
...
Maricela
3 months ago
I think this question is tricky.
upvoted 0 times
...
Tandra
3 months ago
Looks good to me! Updating the app-a deployment with the restrictedservice service account should do the trick.
upvoted 0 times
Cordell
2 months ago
User1: Good point, we don't want any typos causing problems.
upvoted 0 times
...
Kimberely
2 months ago
User3: Make sure to double-check the service account name before making the update.
upvoted 0 times
...
Alishia
2 months ago
User2: Agreed, that should solve the issue.
upvoted 0 times
...
Tawna
3 months ago
User1: I think updating the app-a deployment with the restrictedservice service account is the way to go.
upvoted 0 times
...
...

Save Cancel