Getting Started with Google Kubernetes Engine Coursera Quiz Answers
In this article i am gone to share Getting Started with Google Kubernetes Engine by Google Cloud | All Weeks Quiz Answers | Getting Started with Google Kubernetes Engine Coursera Quiz Answers
Enrol Link: Getting Started with Google Kubernetes Engine
Getting Started with Google Kubernetes Engine Coursera Quiz Answers
Quiz Answers
Question 1)
You are considering deploying a solution by using containers on Google Cloud. What Google Cloud solution provides a managed compute platform with native support for containers?
- Google Kubernetes Engine clusters
- Compute Engine autoscaling groups
- Cloud Functions
- Container Registry
Question 2)
What Identity and Access Management (IAM) hierarchy structure is best for building an application in Google Cloud?
- Create a new folder inside your organization node, then create projects inside that folder for the resources.
- Create new projects for each of the component applications, then create folders inside those for the resources.
- Create a new organization node for the project, then create all projects and resources inside the new organization node.
- Create new projects and resources inside departmental folders for the resources needed, organized by the component applications.
Question 3)
You are developing a new product for a customer and need to be mindful of cost and resources. What Google Cloud tools can be used to ensure costs stay manageable before consumption gets too high?
- Set up budgets and alerts at the project level.
- Configure the billing account for each project associated with the product.
- Configure the billing account at the product folder level in the resource hierarchy.
- Configure quotas and limits for each product folder.
Question 4)
One of the main characteristics of cloud computing is that resources are elastic. What does that mean?
- You can quickly get more resources when you need them.
- You share resources from a large pool that enables economies of scale.
- When customers need more resources, they can get more. When they need less, they can scale back.
- Resources can be allocated automatically.
Quiz Answers
Question 1)
What is significant about the topmost layer in a container? Choose two options.
- An application running in a container can only modify the topmost layer.
- The topmost layer’s contents are ephemeral. When the container is deleted, the contents are lost.
- Reading from or writing to the topmost layer requires special privileges.
- Reading from or writing to the topmost layer requires special software libraries.
Question 2)
When using Kubernetes, you must describe the desired state you want, and Kubernetes’s job is to make the deployed system conform to that desired state and keep it there despite failures. What is the name of this management approach?
- Containerization
- Virtualization
- Declarative configuration
- Imperative configuration
Question 3)
What is the name for the computers in a Google Kubernetes Engine cluster that run workloads?
- Container images
- Nodes
- Containers
- Control planes
Quiz Answers
Question 1)
When designing an application, you want the containers to be located as close to each other as possible in order to minimize latency. Which design decision helps meet this requirement?
- Give the containers the same labels.
- Place the containers in the same Namespace.
- Place the containers in the same cluster.
- Place the containers in the same Pod.
Question 2)
Google Kubernetes Engine offers two modes of operation: Autopilot and Standard mode. Which one of the options below is a use case for using Standard mode.
- You want to avoid cluster configuration.
- You require SSH access to nodes.
- You want machine types based on workloads.
- You want to only pay for Pods and not nodes.
Question 3)
You want to deploy multiple copies of an application in an effort to load balance traffic. How should you deploy Pods to production to achieve this?
- Deploy the Pod manifest multiple times until you achieve the number of replicas required.
- Create separate named Pod manifests for each instance of the application, and deploy as many as you need.
- Create a Service manifest for the LoadBalancer that specifies the number of replicas you want to run.
- Create a deployment manifest that specifies the number of replicas that you want to run.
Quiz Answers
Question 1)
You want to use kubectl to configure your cluster, but first you must configure it. Where does the kubectl command store its configuration file?
- The configuration information is stored in the $HOME/.kube/config file.
- kubectl uses the same authorization and credential tokens as the gcloud CLI utilities.
- The configuration information is entered in Kubectl before executing commands.
- The configuration information is stored in environment variables in the current shell. when required.
Question 2)
You attempt to update a container image to a new version by using the “kubectl describe pod command,” but are not successful. The output of the command shows that the Pod status has changed to “Pending,”the state is shown as “Waiting,” and the reason shown is “ImagePullBackOff.” What is the most probable cause of this error?
- The container image failed to download.
- The container image pull policy has been set to “Never.”
- You specified an invalid container name.
- The latest container image has already been deployed.
Question 3)
Which command can be used to display error messages from containers in a Pod that are failing to run successfully?
- kubectl logs
- kubectl describe pod
- kubectl get pod
- kubectl exec -it — sh
Question 4)
What command can be used to identify which containers in a Pod are successfully running, and which are failing or having issues?
- kubectl describe pod
- kubectl get pod
- kubectl logs
- kubectl exec