Google Cloud Associate Cloud Engineer — Question 246

After a recent security incident, your startup company wants better insight into what is happening in the Google Cloud environment. You need to monitor unexpected firewall changes and instance creation. Your company prefers simple solutions. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because using Cloud Logging filters to create log-based metrics allows for efficient monitoring of specific actions related to firewalls and instances, along with the ability to set alerts based on those metrics. Option A involves more complex analysis using BigQuery, which may not align with the preference for simple solutions. Option C requires additional setup with Kibana and Pub/Sub, making it less straightforward. Option D, while useful, does not provide as comprehensive monitoring for both firewalls and instances simultaneously.