Question 13

- (Exam Topic 2)
You are developing a new application that has the following design requirements: Creation and changes to the application infrastructure are versioned and auditable.
The application and deployment infrastructure uses Google-managed services as much as possible. The application runs on a serverless compute platform.
How should you design the application’s architecture?

Correct Answer:D
Reference: https://cloud.google.com/docs/ci-cd

Question 14

- (Exam Topic 2)
Your operations team has asked you to create a script that lists the Cloud Bigtable, Memorystore, and Cloud SQL databases running within a project. The script should allow users to submit a filter expression to limit the results presented. How should you retrieve the data?

Correct Answer:D
https://cloud.google.com/sdk/gcloud/reference/topic/filters
Most gcloud commands return a list of resources on success. By default they are pretty-printed on the standard output. The --format=NAME[ATTRIBUTES](PROJECTION) and --filter=EXPRESSION flags along with projections can be used to format and change the default output to a more meaningful result. Use the --format flag to change the default output format of a command. For details run $ gcloud topic formats.

Question 15

- (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 16

- (Exam Topic 2)
Your team manages a Google Kubernetes Engine (GKE) cluster where an application is running. A different team is planning to integrate with this application. Before they start the integration, you need to ensure that the other team cannot make changes to your application, but they can deploy the integration on GKE. What should you do?

Correct Answer:D

Question 17

- (Exam Topic 2)
You are using the Cloud Client Library to upload an image in your application to Cloud Storage. Users of the application report that occasionally the upload does not complete and the client library reports an HTTP 504 Gateway Timeout error. You want to make the application more resilient to errors. What changes to the application should you make?

Correct Answer:A

Question 18

- (Exam Topic 2)
Before promoting your new application code to production, you want to conduct testing across a variety of different users. Although this plan is risky, you want to test the new version of the application with production users and you want to control which users are forwarded to the new version of the application based on their operating system. If bugs are discovered in the new version, you want to roll back the newly deployed version of the application as quickly as possible.
What should you do?

Correct Answer:B

START Professional-Cloud-Developer EXAM