For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 6Question 50
    Medium1 markMultiple Choice
    Domain 5.3: Viewing audit logsCloud LoggingAudit LogsLogs ExplorerTroubleshooting

    GCP ACE · Question 50 · Domain 5.3: Viewing audit logs

    You are using the Logs Explorer to investigate an issue. You want to filter the logs to show ONLY Admin Activity audit logs related to Compute Engine instances that were created in the last hour.

    Which TWO filters must you include in your Logs Explorer query? (Select TWO)

    Answer options:

    A.

    resource.type="gce_instance"

    B.

    logName="projects/YOUR_PROJECT/logs/cloudaudit.googleapis.com%2Factivity"

    C.

    severity="ERROR"

    D.

    logName="projects/YOUR_PROJECT/logs/cloudaudit.googleapis.com%2Fdata_access"

    E.

    resource.type="compute_engine_project"

    How to approach this question

    Identify the correct logName for Admin Activity and the correct resource.type for Compute Engine instances.

    Full Answer

    To filter logs effectively in the Logs Explorer, you use the Logging query language. To find Admin Activity logs for Compute Engine instances, you need two main filters. First, you filter by the resource type using `resource.type="gce_instance"`. Second, you filter by the specific log name for Admin Activity logs, which is `logName="projects/[PROJECT_ID]/logs/cloudaudit.googleapis.com%2Factivity"`. You would then use the time selector in the UI to restrict the view to the last hour.

    Common mistakes

    Selecting Data Access logs instead of Activity logs, or filtering by ERROR severity (which would hide successful VM creations).
    Question 49All questions

    Practice the full GCP Associate Cloud Engineer Practice Exam 6

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01What is the primary purpose of a Google Cloud project?EasyQ02Your development team needs to manage Compute Engine instances in a specific project. They need t...MediumQ03You are automating the setup of a new Google Cloud project using a bash script. You need to enabl...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...MediumQ05Your finance team wants to perform granular analysis of your Google Cloud spending using SQL. The...Hard
    View all 50 questions →