Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free Google Certified Professional - Cloud Developer Practice Questions

Exams4sure Dumps

Exam style questions across every Professional-Cloud-Developer domain

Last Update 3 days ago
Total Questions : 265

Start with our free Professional-Cloud-Developer practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Cloud Developer exam. Each Professional-Cloud-Developer exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Google weak domains, see where you're losing marks, and build a focused study plan in minutes.

Professional-Cloud-Developer PDF

Professional-Cloud-Developer PDF (Printable)
$54.25
$154.99

Professional-Cloud-Developer Testing Engine

Professional-Cloud-Developer PDF (Printable)
$59.5
$169.99

Professional-Cloud-Developer PDF + Testing Engine

Professional-Cloud-Developer PDF (Printable)
$74.55
$212.99
Question # 11

You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.

Question # 11

Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.

Which commands should you run?

Options:

A.  

gcloud compute instances add-access-config ${NAME}-backend-instance-1

B.  

gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server

C.  

gcloud compute firewall-rules create allow-lb --network load-balancer --allow

tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS

D.  

gcloud compute firewall-rules create allow-lb --network load-balancer --allow

tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS

Discussion 0
Question # 12

You are developing an application that will allow users to read and post comments on news articles. You want to configure your application to store and display user-submitted comments using Firestore. How should you design the schema to support an unknown number of comments and articles?

Options:

A.  

Store each comment in a subcollection of the article.

B.  

Add each comment to an array property on the article.

C.  

Store each comment in a document, and add the comment’s key to an array property on the article.

D.  

Store each comment in a document, and add the comment’s key to an array property on the user profile.

Discussion 0
Question # 13

Which service should HipLocal use to enable access to internal apps?

Options:

A.  

Cloud VPN

B.  

Cloud Armor

C.  

Virtual Private Cloud

D.  

Cloud Identity-Aware Proxy

Discussion 0
Question # 14

You are a developer working with the CI/CD team to troubleshoot a new feature that your team introduced. The CI/CD team used HashiCorp Packer to create a new Compute Engine image from your development branch. The image was successfully built, but is not booting up. You need to investigate the issue with the CI/CD team. What should you do?

Options:

A.  

Create a new feature branch, and ask the build team to rebuild the image.

B.  

Shut down the deployed virtual machine, export the disk, and then mount the disk locally to access the boot logs.

C.  

Install Packer locally, build the Compute Engine image locally, and then run it in your personal Google Cloud project.

D.  

Check Compute Engine OS logs using the serial port, and check the Cloud Logging logs to confirm access to the serial port.

Discussion 0
Question # 15

HipLocal wants to improve the resilience of their MySQL deployment, while also meeting their business and technical requirements.

Which configuration should they choose?

Options:

A.  

Use the current single instance MySQL on Compute Engine and several read-only MySQL servers on

Compute Engine.

B.  

Use the current single instance MySQL on Compute Engine, and replicate the data to Cloud SQL in an

external master configuration.

C.  

Replace the current single instance MySQL instance with Cloud SQL, and configure high availability.

D.  

Replace the current single instance MySQL instance with Cloud SQL, and Google provides redundancy

without further configuration.

Discussion 0
Question # 16

HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They want to collect some

metrics to help them troubleshoot.

What should they do?

Options:

A.  

Take frequent snapshots of all of the VMs.

B.  

Install the Stackdriver Logging agent on the VMs.

C.  

Install the Stackdriver Monitoring agent on the VMs.

D.  

Use Stackdriver Trace to look for performance bottlenecks.

Discussion 0
Question # 17

For this question, refer to the HipLocal case study.

How should HipLocal increase their API development speed while continuing to provide the QA team with a stable testing environment that meets feature requirements?

Options:

A.  

Include unit tests in their code, and prevent deployments to QA until all tests have a passing status.

B.  

Include performance tests in their code, and prevent deployments to QA until all tests have a passing status.

C.  

Create health checks for the QA environment, and redeploy the APIs at a later time if the environment is unhealthy.

D.  

Redeploy the APIs to App Engine using Traffic Splitting. Do not move QA traffic to the new versions if errors are found.

Discussion 0
Question # 18

For this question, refer to the HipLocal case study.

HipLocal's application uses Cloud Client Libraries to interact with Google Cloud. HipLocal needs to configure authentication and authorization in the Cloud Client Libraries to implement least privileged access for the application. What should they do?

Options:

A.  

Create an API key. Use the API key to interact with Google Cloud.

B.  

Use the default compute service account to interact with Google Cloud.

C.  

Create a service account for the application. Export and deploy the private key for the application. Use the service account to interact with Google Cloud.

D.  

Create a service account for the application and for each Google Cloud API used by the application. Export and deploy the private keys used by the application. Use the service account with one Google Cloud API to interact with Google Cloud.

Discussion 0
Question # 19

Which service should HipLocal use for their public APIs?

Options:

A.  

Cloud Armor

B.  

Cloud Functions

C.  

Cloud Endpoints

D.  

Shielded Virtual Machines

Discussion 0
Question # 20

For this question, refer to the HipLocal case study.

A recent security audit discovers that HipLocal’s database credentials for their Compute Engine-hosted MySQL databases are stored in plain text on persistent disks. HipLocal needs to reduce the risk of these credentials being stolen. What should they do?

Options:

A.  

Create a service account and download its key. Use the key to authenticate to Cloud Key Management Service (KMS) to obtain the database credentials.

B.  

Create a service account and download its key. Use the key to authenticate to Cloud Key Management Service (KMS) to obtain a key used to decrypt the database credentials.

C.  

Create a service account and grant it the roles/iam.serviceAccountUser role. Impersonate as this account and authenticate using the Cloud SQL Proxy.

D.  

Grant the roles/secretmanager.secretAccessor role to the Compute Engine service account. Store and access the database credentials with the Secret Manager API.

Discussion 0

Free Exams Sample Questions