Practice Test 1 | Google Cloud Certified Professional Cloud DevOps Engineer | Dumps | Mock Test
Your company is planning to deploy a python application on Google App Engine Standard Environment. There is a requirement to continuously gather CPU usage information from your production application.
What steps will help achieve this? Choose Two.
A. Enable the Cloud Trace API
B. Install pip and Install the Trace package
C. Enable the Cloud Profiler API and add google-cloud-profiler to your requirements.txt file
D. Install pip and Install the Cloud Profiler package
E. Import googlecloudprofiler module and call the googlecloudprofiler. start function
Correct Answers: C and E
- Options A and B are incorrect. Cloud Trace is not used to continuously gather CPU and memory usage from applications.
- Option D is incorrect, because you don’t have access to the underlying instance when using App Engine Standard Environment.
- Options C and E are CORRECT. Cloud Profiler is used to continuously gather CPU and memory usage from applications. Cloud Profiler API needs to be enabled (if it is not already), added to your requirements.txt file (so it is downloaded), it also needs to be imported and started.
References:
Comments are closed, but trackbacks and pingbacks are open.