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 68 Discussion

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

Refer to Exhibit.

Context

Your application's namespace requires a specific service account to be used.

Task

Update the app-a deployment in the production namespace to run as the restrictedservice service account. The service account has already been created.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Flo
2 days ago
Are you sure this won't cause any permission issues later on?
upvoted 0 times
...
Lennie
21 days ago
This is a common task, nothing too complex here.
upvoted 0 times
...
Beth
26 days ago
Wait, is the service account already bound to the role?
upvoted 0 times
...
Micheline
1 month ago
Totally agree, it's straightforward once you know where to look!
upvoted 0 times
...
Brianne
1 month ago
Wait, do I need to update the service account first, or can I just update the deployment?
upvoted 0 times
...
Brandee
1 month ago
Haha, I bet the person who wrote this question has never actually used Kubernetes in production.
upvoted 0 times
...
Latonia
2 months ago
Easy peasy, just update the deployment spec and you're good to go!
upvoted 0 times
...
Peggie
2 months ago
I feel like we might need to check the current deployment settings first before making any changes. That could help clarify what needs to be updated.
upvoted 0 times
...
Lemuel
2 months ago
I remember something about using `kubectl edit` for deployments, but I’m not confident if that’s the best approach here.
upvoted 0 times
...
Truman
2 months ago
This reminds me of a practice question where we had to change the service account for a pod. I think it was similar to updating the spec section.
upvoted 0 times
...
Evette
2 months ago
I think we need to modify the deployment YAML file to specify the service account, but I'm not entirely sure about the exact syntax.
upvoted 0 times
...
Noah
2 months ago
Ah, this is a good one. I'll need to be careful to get the service account name exactly right, and make sure I update the right deployment. Gotta pay attention to the details on this one.
upvoted 0 times
...
Johana
3 months ago
No problem, I've done this kind of thing before. I'll just need to run a kubectl edit command on the deployment and update the serviceAccountName field. Easy peasy!
upvoted 0 times
...
Regenia
3 months ago
I'm a bit unsure about this one. I know I need to update the service account, but I'm not 100% sure of the exact steps. I'll need to review the Kubernetes documentation to make sure I get it right.
upvoted 0 times
...
Albina
3 months ago
Just need to update the deployment YAML with the service account name.
upvoted 0 times
...
Jacquelyne
3 months ago
Looks good, but I'm not sure if the service account has the necessary permissions.
upvoted 0 times
...
Gilberto
3 months ago
Yeah, the service account part is confusing.
upvoted 0 times
...
Oneida
4 months ago
I think option A is correct. It clearly specifies the service account.
upvoted 0 times
...
Chanel
4 months ago
Okay, I think I know how to do this. I'll need to edit the deployment manifest and update the serviceAccountName field to the correct service account.
upvoted 0 times
...
Nan
4 months ago
Hmm, this looks straightforward. I'll need to update the deployment's service account, but I'll need to double-check the syntax to make sure I get it right.
upvoted 0 times
...

Save Cancel