Google Cloud Associate Cloud Engineer — Question 38
Your projects incurred more costs than you expected last month. Your research reveals that a development GKE container emitted a huge number of logs, which resulted in higher costs. You want to disable the logs quickly using the minimum number of steps. What should you do?
Answer options
- A. 1. Go to the Logs ingestion window in Stackdriver Logging, and disable the log source for the GKE container resource.
- B. 1. Go to the Logs ingestion window in Stackdriver Logging, and disable the log source for the GKE Cluster Operations resource.
- C. 1. Go to the GKE console, and delete existing clusters. 2. Recreate a new cluster. 3. Clear the option to enable legacy Stackdriver Logging.
- D. 1. Go to the GKE console, and delete existing clusters. 2. Recreate a new cluster. 3. Clear the option to enable legacy Stackdriver Monitoring.
Correct answer: A
Explanation
The correct answer is A because it directly targets the log source for the specific GKE container, allowing for quick log deactivation. Options B, C, and D either disable logs for the wrong resource or involve unnecessary steps like deleting and recreating clusters, which is not efficient for this situation.