GCP Professional Cloud Security Engineer Practice Question

Your security operations team must be notified whenever someone attempts to deploy a container image to any Google Kubernetes Engine (GKE) cluster in your organization and Binary Authorization blocks the deployment because the image lacks a required attestation. You have already enabled Binary Authorization in enforce mode on all clusters and have aggregated all Cloud Audit Logs into a central security project. Which log filter will reliably identify every such policy-violation event so you can create an alert or export to your SIEM?

  • resource.type="k8s_cluster" AND logName:"/logs/cloudaudit.googleapis.com%2Fdata_access" AND protoPayload.serviceName="binaryauthorization.googleapis.com"

  • severity="HIGH" AND jsonPayload.detectionCategory="Malware" AND resource.type="security_center_event"

  • resource.type="k8s_cluster" AND logName:"/logs/cloudaudit.googleapis.com%2Factivity" AND protoPayload.serviceName="binaryauthorization.googleapis.com" AND protoPayload.methodName="google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence" AND protoPayload.status.code=7

  • resource.type="k8s_cluster" AND logName:"/logs/cloudaudit.googleapis.com%2Factivity" AND protoPayload.serviceName="container.googleapis.com" AND protoPayload.status.code=7

GCP Professional Cloud Security Engineer
Managing operations
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot