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 CKS Topic 1 Question 33 Discussion

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

Cluster:qa-cluster Master node:masterWorker node:worker1 You can switch the cluster/configuration context using the following command: [desk@cli] $kubectl config use-context qa-cluster Task: Create a NetworkPolicy namedrestricted-policyto restrict access to Podproductrunning in namespacedev. Only allow the following Pods to connect to Pod products-service: 1. Pods in the namespaceqa 2. Pods with labelenvironment: stage, in any namespace

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Heike
13 days ago
This question is a piece of cake! Option B is the way to go. Now, where's the coffee machine in this testing center?
upvoted 0 times
...
Benton
14 days ago
I was a bit confused at first, but after reading through the options, B is the clear winner. Time to move on to the next question!
upvoted 0 times
...
Hubert
16 days ago
Haha, I bet the exam writers were feeling pretty clever with this one. But option B is the way to go, no doubt about it.
upvoted 0 times
...
Xochitl
24 days ago
Option B seems to be the correct answer. The question clearly states the requirements, and that's what the NetworkPolicy in option B is addressing.
upvoted 0 times
...
Joye
27 days ago
This looks straightforward, I'll go with option B. Restricting access to the 'products-service' Pod based on the specified criteria.
upvoted 0 times
Luisa
2 days ago
json_images/CKS/ChoiceImage_22f646bb4-b10b-47c9-9019-baa9f9e70935.png
upvoted 0 times
...
Terry
16 days ago
json_images/CKS/ChoiceImage_22f646bb4-b10b-47c9-9019-baa9f9e70935.png
upvoted 0 times
...
...
Ashleigh
2 months ago
I feel confident about this, I have practiced similar scenarios.
upvoted 0 times
...
Janna
2 months ago
I agree, it requires a good understanding of NetworkPolicy.
upvoted 0 times
...
Brandon
2 months ago
I think this question is tricky.
upvoted 0 times
...

Save Cancel