Exhibit:

Context
You have been tasked with scaling an existing deployment for availability, and creating a service to expose the deployment within your infrastructure.
Task
Start with the deployment named kdsn00101-deployment which has already been deployed to the namespace kdsn00101 . Edit it to:
* Add the func=webFrontEnd key/value label to the pod template metadata to identify the pod for the service definition
* Have 4 replicas
Next, create ana deploy in namespace kdsn00l01 a service that accomplishes the following:
* Exposes the service on TCP port 8080
* is mapped to me pods defined by the specification of kdsn00l01-deployment
* Is of type NodePort
* Has a name of cherry
Suggested Answer: A
Get Premium CKAD Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
TO
Tonette
12 months ago
I'm surprised they didn't mention resource limits in the task!
VA
Valentin
1 year ago
The func=webFrontEnd label is a must for service mapping.
RO
Rossana
1 year ago
Wait, why NodePort? Isn't LoadBalancer better?
MA
Marjory
1 year ago
Totally agree, scaling is key!
HE
Helaine
1 year ago
You need 4 replicas for high availability.
SH
Sherron
1 year ago
I feel like I’ve seen a question with a similar setup before, but I’m not completely confident about the port mapping details.
SA
Salena
1 year ago
For the service, I know it needs to be of type NodePort, but I’m a bit confused about how to link it to the correct deployment.
AD
Adolph
1 year ago
I practiced a similar question where we had to scale a deployment, but I can't recall if we had to specify the replicas in the same section as the labels.
GR
Graciela
1 year ago
I think I remember needing to edit the deployment to add the label, but I'm not sure about the exact syntax for that.
DA
Daron
1 year ago
Hmm, I'm a bit unsure about this one. Should we really just keep them satisfied, or should we try to engage and consult with them more regularly? I'm torn between options A and B.
EM
Emilio
1 year ago
Keeping the SLDS Stylesheet open for reference seems like a good strategy. That way I can easily cross-reference the styles as I'm building the component.
LA
Lajuana
1 year ago
Okay, I've got this. The question is asking about the technique used to balance workloads across multiple uplinks, and the answer is link aggregation. That's the way to prevent network cards from overloading.