00:00

QUESTION 51

- (Exam Topic 2)
You are building an API that will be used by Android and iOS apps The API must:
• Support HTTPs
• Minimize bandwidth cost
• Integrate easily with mobile apps Which API architecture should you use?

Correct Answer: A
Reference: https://www.devteam.space/blog/how-to-build-restful-api-for-your-mobile-app/

QUESTION 52

- (Exam Topic 2)
You want to migrate an on-premises container running in Knative to Google Cloud. You need to make sure that the migration doesn't affect your application's deployment strategy, and you want to use a fully managed service. Which Google Cloud service should you use to deploy your container?

Correct Answer: A
https://cloud.google.com/blog/products/serverless/knative-based-cloud-run-services-are-ga

QUESTION 53

- (Exam Topic 2)
Your application is deployed on hundreds of Compute Engine instances in a managed instance group (MIG) in multiple zones. You need to deploy a new instance template to fix a critical vulnerability immediately but must avoid impact to your service. What setting should be made to the MIG after updating the instance template?

Correct Answer: B
https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups#type Alternatively, if an automated update is potentially too disruptive, you can choose to perform an opportunistic update. The MIG applies an opportunistic update only when you manually initiate the update on selected instances or when new instances are created. New instances can be created when you or another service, such as an autoscaler, resizes the MIG. Compute Engine does not actively initiate requests to apply opportunistic updates on existing instances.

QUESTION 54

- (Exam Topic 2)
You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)

Correct Answer: AC
https://cloud.google.com/run/docs/deploying#images https://cloud.google.com/blog/products/containers-kubernetes/google-cloud-now-supports-buildpacks

QUESTION 55

- (Exam Topic 2)
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. You want to expose this application publicly behind a Cloud Load Balancing HTTP(S) load balancer. What should you do?

Correct Answer: A
Reference: https://cloud.google.com/kubernetes-engine/docs/concepts/ingress