Google Cloud Associate Cloud Engineer — Question 93
You are using Deployment Manager to create a Google Kubernetes Engine cluster. Using the same Deployment Manager deployment, you also want to create a
DaemonSet in the kube-system namespace of the cluster. You want a solution that uses the fewest possible services. What should you do?
Answer options
- A. Add the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet.
- B. Use the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition.
- C. With Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet.
- D. In the cluster's definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value.
Correct answer: A
Explanation
The correct answer is A because adding the cluster's API as a Type Provider allows for direct interaction with Kubernetes resources like DaemonSets. The other options either introduce additional services or rely on external scripts and configurations, which do not align with the requirement of using the fewest possible services.