Associate-Cloud-Engineer Exam Question 51
You have developed an application that consists of multiple microservices, with each microservice packaged in its own Docker container image. You want to deploy the entire application on Google Kubernetes Engine so that each microservice can be scaled individually. What should you do?
Associate-Cloud-Engineer Exam Question 52
You are designing an application that uses WebSockets and HTTP sessions that are not distributed across the web servers. You want to ensure the application runs properly on Google Cloud Platform. What should you do?
Associate-Cloud-Engineer Exam Question 53
You need to create a Compute Engine instance in a new project that doesn't exist yet. What should you do?
Associate-Cloud-Engineer Exam Question 54
You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you do?
Associate-Cloud-Engineer Exam Question 55
You created a Kubernetes deployment by running kubectl run nginx image=nginx replicas=1. After a few days, you decided you no longer want this deployment. You identified the pod and deleted it by running kubectl delete pod. You noticed the pod got recreated.
* $ kubectlgetpods
* NAME READY STATUS RESTARTS AGE
* nginx-84748895c4-nqqmt 1/1 Running 0 9m41s
* $ kubectldeletepod nginx-84748895c4-nqqmt
* pod nginx-84748895c4-nqqmt deleted
* $ kubectlgetpods
* NAME READY STATUS RESTARTS AGE
* nginx-84748895c4-k6bzl 1/1 Running 0 25s
What should you do to delete the deployment and avoid pod getting recreated?
* $ kubectlgetpods
* NAME READY STATUS RESTARTS AGE
* nginx-84748895c4-nqqmt 1/1 Running 0 9m41s
* $ kubectldeletepod nginx-84748895c4-nqqmt
* pod nginx-84748895c4-nqqmt deleted
* $ kubectlgetpods
* NAME READY STATUS RESTARTS AGE
* nginx-84748895c4-k6bzl 1/1 Running 0 25s
What should you do to delete the deployment and avoid pod getting recreated?
