Question 1
Your application performs well when tested locally, but it runs significantly slower after you deploy it to a Compute Engine instance. You need to diagnose the problem. What should you do? What should you do?
- A. File a ticket with Cloud Support indicating that the application performs faster locally.
- B. Use Cloud Debugger snapshots to look at a point-in-time execution of the application.
- C. Use Cloud Profiler to determine which functions within the application take the longest amount of time.
- D. Add logging commands to the application and use Cloud Logging to check where the latency problem occurs.
Ans : D : Add logging commands to the application and use Cloud Logging to check where the latency problem occurs.
Question 2
A client of yours has asked you for advice because he is looking for a quick and convenient solution for adding functionalities to an Application.
Whenever a new customer is created in the Firebase database, he wants to perform a series of welcome activities and a series of follow-up actions, regardless of the specific function that recorded the new customer record.
Which of the following solutions will you suggest (choose 1)?
- A. Compute Engine and Managed Instances
- B. App Engine Flexible Environment
- C. App Engine Standard Environment
- D. Cloud Functions
- E. Cloud Run (fully managed)
Ans: D : Cloud Functions