Practice test
Answer the following questions:
- How do you create control plane components in GKE?
a) Create worker nodes and then create control plane components on the worker nodes.
b) A GKE cluster does not mandate the creation of control plane components.
c) Create control plane components on a node group called
master
and the worker nodes are placed in a node group calledworker
.d) The control plane components are automatically created and managed by GKE on behalf of the user.
- Pod
p1
has three containers –c1
,c2
, andc3
. The user wants to view the logs of containerc2
. Select the option that represents the appropriate CLI command to view the logs:a)
kubectl logs -p p1 -c c2
b)
kubectl logs p1 -c c2
c)
kubectl logs pod=p1 container=c2
d)
kubectl logs p1 container=c2
- The company Alpha is about to launch a stateless web application to offer a new e-commerce Service. The web application will have steady traffic with occasional peaks, especially when special offers...