Google Cloud Certified – Professional Cloud Architect – Practice Exam (Question 22)
Question 1
You are developing a globally scaled frontend for a legacy streaming backend data API.
This API expects events in strict chronological order with no repeat data for proper processing.
Which products should you deploy to ensure guaranteed-once FIFO (first-in, first-out) delivery of data?
- A. Google Cloud Pub/Sub to Google Cloud Dataflow.
- B. Google Cloud Pub/Sub to Google Cloud SQL.
- C. Google Cloud Pub/Sub to Stackdriver.
- D. Google Cloud Pub/Sub alone
Correct Answer: A
Reference contents:
– Ordering messages | Cloud Pub/Sub Documentation
Question 2
A small number of API requests to your microservices-based application take a very long time.
You know that each request to the API can traverse many services. You want to know which service takes the longest in those cases.
What should you do?
- A. Instrument your application with Stackdnver Trace in order to break down the request latencies at each microservice.
- B. Set timeouts on your application so that you can fail requests faster.
- C. Use Stackdriver Monitoring to look for insights that show when your API latencies are high.
- D. Send custom metrics for each of your requests to Stackdriver Monitoring.
Correct Answer: A
Reference contents:
– About Cloud Trace | Google Cloud
Question 3
The development team has provided you with a Kubernetes Deployment file.
You have no infrastructure yet and need to deploy the application.
What should you do?
- A. Use gcloud to create a Kubernetes cluster. Use Google Cloud Deployment Manager to create the deployment.
- B. Use kubect1 to create a Kubernetes cluster. Use Google Cloud Deployment Manager to create the deployment.
- C. Use kubect1 to create a Kubernetes cluster. Use kubect1 to create the deployment.
- D. Use gcloud to create a Kubernetes cluster. Use kubect1 to create the deployment.