Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 334 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 334

Select 3Google Cloud Platform

As a Google Cloud Associate Cloud Engineer, you are tasked with ensuring that all administrative actions on your project's Compute Engine resources are logged for auditing purposes. Which of the following steps should you take to configure audit logging correctly?

  1. A

    Enable Data Access audit logs for the Compute Engine API.

  2. B

    Ensure that the Cloud Audit Logs API is enabled in your project.

  3. C

    Grant the required IAM roles to the user who will view the audit logs.

  4. D

    Set up a Cloud Function to export logs to BigQuery.

Show answer and explanation

Correct answers: A, B, C

Explanation

To ensure administrative actions are logged, you need to enable Data Access audit logs for the relevant API, ensure the Cloud Audit Logs API is enabled, and grant appropriate IAM roles to users who need to view the logs. Exporting logs to BigQuery is optional and not part of the initial configuration for audit logging.

  • A. Correct.

    Data Access audit logs include admin read and write operations, which are needed for auditing administrative actions.

  • B. Correct.

    Cloud Audit Logs API must be enabled to record audit logs for your Google Cloud services.

  • C. Correct.

    Users need appropriate IAM roles, such as 'Logs Viewer', to access and view audit logs.

  • D. Incorrect.

    While exporting logs to BigQuery can be useful for analysis, it is not required for configuring audit logs.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam