Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your organization is designing a multi-project CI/CD security architecture using Artifact Registry and Artifact Analysis. You maintain a centralized security-metadata-prod project (acting as the metadata provider) to store compliance and attestation notes, while multiple application team projects host Artifact Registry repositories (acting as metadata customers) where container images are built and stored.
You need to configure Identity and Access Management (IAM) roles and security controls to meet the following requirements:
security-metadata-prod.security-metadata-prod.Which IAM role configuration and security mechanism should you implement?
The Artifact Analysis metadata model distinguishes between metadata providers (which create and manage centralized notes describing policies, vulnerabilities, or build attestations) and metadata customers (which attach occurrences targeting specific container images to those notes). In an enterprise CI/CD architecture, isolating notes into a dedicated provider project ensures centralized governance across distributed application repositories.
roles/containeranalysis.occurrences.editor (Container Analysis Occurrences Editor) granted in the customer project to instantiate new occurrences targeting container images, and roles/containeranalysis.notes.attacher (Container Analysis Notes Attacher) granted in the provider project (security-metadata-prod) to bind those occurrences to the centralized note.roles/containeranalysis.occurrencesForNotes.viewer (Container Analysis Occurrences for Notes Viewer) in the provider project allows them to retrieve and list all attached occurrences across all external customer projects linked to a given note.This solution uses native Google Cloud IAM role mappings and built-in Artifact Analysis security protections without requiring custom IAM policies or complex manual perimeter synchronizations.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.