
Explanation:
The correct answer is B because without the logging agent, VMs cannot send logs to Cloud Logging. The other options are incorrect for the following reasons:
For more information, refer to the Cloud Logging documentation.
Ultimate access to all questions.
A customer has deployed an application on Compute Engine, utilizing the default service account. The application is designed to write logs to the instance's logs. However, no logs are appearing in Cloud Logging. What is the most likely issue?
A
The VM machine logs have not been enabled.
B
The logging agent is not installed on the instance.
C
The service account lacks the Logging Viewer role.
D
The service account's scopes are insufficient for writing to Cloud Logging.
No comments yet.