Professional Cloud Security Engineer Practice Test
14 original questions · Practice mode with instant explanations
Question 1 of 14
0 answered · 14 remaining
IAMmedium
A Compute Engine instance runs an application that needs to publish messages to a Pub/Sub topic. What is the correct configuration?
Select an answer to see the explanation.
What this test covers
One concept per question, across the topics Professional Cloud Security Engineer draws on.
- Attach a purpose-specific service account and grant only the role it needs
- Enforce at both build and admission so the control cannot be bypassed
- IAM conditions can bind access to time, resource names or other attributes
- Data access logs record reads and must be enabled deliberately
- Workload identity federation eliminates long-lived service account keys
- Custom roles exist for when no predefined role is narrow enough
- Secrets belong in a dedicated service with access control, versioning and audit
- Controlling the key is what enables cryptographic revocation of access
- Least privilege is both the narrowest role and the narrowest scope
- Data residency needs both correct placement and a preventative guardrail
- Separation of duties prevents a single identity holding conflicting powers
- Grant to groups so access follows role changes automatically
- Service perimeters address exfiltration by an authorised identity
- Detecting anomalous behaviour requires analysing activity logs, not configuration
These questions are written by GCP Prep to test understanding of publicly documented concepts. They are not real exam questions and are not a prediction of what any exam contains.
Related Certifications
Related Guides
- Certifications and Your Cloud CareerWhat cloud certifications actually do for a career, which roles value them most, and how to combine them with experience to move forward.
- Google Cloud Certification RoadmapSequenced certification paths for cloud engineering, architecture, data, security, DevOps and machine learning careers.
Related Cloud Topics
- Identity and Access Management (IAM)Who can do what to which resource: members, roles, policy inheritance, service accounts and least privilege.
- Encryption and Key ManagementDefault encryption, customer-managed keys, rotation and secret handling — and the operational consequences of each choice.
- Security Posture and Threat DetectionFinding misconfigurations, detecting threats, understanding audit logs and running a detection and response capability.
- Virtual Private Cloud (VPC)Your private network in the cloud: subnets, routes, firewall rules, peering and shared VPC.