Practice Test 1 | Google Cloud Certified Professional Cloud DevOps Engineer | Dumps | Mock Test
Your team is developing a python application for a government agency. The company has decided that the application should be deployed to App Engine Flexible environment in GCP. There is a security requirement for collection of the application logs.
Which steps can you take to fulfil this requirement? Select TWO
A. Integrate the python logging module with Cloud Logging.
B. There is nothing to be done, App Engine automatically sends these logs to the Cloud Logging agent.
C. You can write structured logs as JSON objects serialized on a single line to stdout or stderr
D. Grant the Logs Writer role to App Engine
E. Enable Cloud Logging
Correct Answers: A and C
- Options A & C is CORRECT. Collecting applications in App Engine can either be done using the logging package of the chosen language or by writing structure logs to stdout and stderr.
- Options B, D and E is incorrect. You need to configure application logs in App Engine, Cloud Logging enabled automatically, and App Engine has the Logs Writer role by default.
References:
Comments are closed, but trackbacks and pingbacks are open.