Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Professional-Cloud-Architect Exam Results

Page: 5 / 13
Question 20

Your company wants you to build a highly reliable web application with a few public APIs as the backend. You don’t expect a lot of user traffic, but traffic could spike occasionally. You want to leverage Cloud Load Balancing, and the solution must be cost-effective for users. What should you do?

Options:

A.

Store static content such as HTML and images in Cloud CDN. Host the APIs on App Engine and store the user data in Cloud SQL.

B.

Store static content such as HTML and images in a Cloud Storage bucket. Host the APIs on a zonal Google Kubernetes Engine cluster with worker nodes in multiple zones, and save the user data in Cloud Spanner.

C.

Store static content such as HTML and images in Cloud CDN. Use Cloud Run to host the APIs and save the user data in Cloud SQL.

D.

Store static content such as HTML and images in a Cloud Storage bucket. Use Cloud Functions to host the APIs and save the user data in Firestore.

Question 21

You have an outage in your Compute Engine managed instance group: all instance keep restarting after 5 seconds. You have a health check configured, but autoscaling is disabled. Your colleague, who is a Linux expert, offered to look into the issue. You need to make sure that he can access the VMs. What should you do?

Options:

A.

Grant your colleague the IAM role of project Viewer

B.

Perform a rolling restart on the instance group

C.

Disable the health check for the instance group. Add his SSH key to the project-wide SSH keys

D.

Disable autoscaling for the instance group. Add his SSH key to the project-wide SSH Keys

Question 22

Your company has an application running on a deployment in a GKE cluster. You have a separate cluster for development, staging and production. You have discovered that the team is able to deploy a Docker image to the production cluster without first testing the deployment in development and then staging. You want to allow the team to have autonomy but want to prevent this from happening. You want a Google Cloud solution that can be implemented quickly with minimal effort. What should you do?

Options:

A.

Create a Kubernetes admission controller to prevent the container from starting if it is not approved for usage in the given environment

B.

Configure a Kubernetes lifecycle hook to prevent the container from starting if it is not approved for usage in the given environment

C.

Implement a corporate policy to prevent teams from deploying Docker image to an environment unless the Docker image was tested in an earlier environment

D.

Configure the binary authorization policies for the development, staging and production clusters. Create attestations as part of the continuous integration pipeline”

Question 23

You company has a Kubernetes application that pulls messages from Pub/Sub and stores them in Firestore. Because the application is simple, it was deployed as a single pod. The infrastructure team has analyzed Pub/Sub metrics and discovered that the application cannot process the messages in real time. Most of them wait for minutes before being processed. You need to scale the elaboration process that is I/O-intensive. What should you do?

Options:

A.

Configure a Kubernetes autoscaling based on the subscription/push_request metric.

B.

Use the –enable- autoscaling flag when you create the Kubernetes cluster

C.

Configure a Kubernetes autoscaling based on the subscription/num_undelivered message metric.

D.

Use kubectl autoscale deployment APP_NAME –max 6 –min 2 –cpu- percent 50 to configure Kubernetes autoscaling deployment

Page: 5 / 13
Exam Name: Google Certified Professional - Cloud Architect (GCP)
Last Update: Nov 24, 2024
Questions: 275
Professional-Cloud-Architect pdf

Professional-Cloud-Architect PDF

$25.5  $84.99
Professional-Cloud-Architect Engine

Professional-Cloud-Architect Testing Engine

$28.5  $94.99
Professional-Cloud-Architect PDF + Engine

Professional-Cloud-Architect PDF + Testing Engine

$40.5  $134.99