Google PCA Designing for Security and Compliance Practice Question
A company uses Assured Workloads to meet FedRAMP compliance. They need to ensure that only authorized personnel can access data access audit logs for their projects. Which IAM role should they grant to the security team?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
roles/logging.privateLogViewer
Data Access audit logs require the 'roles/logging.privateLogViewer' role (or equivalent) to view. Admin Activity logs are visible with 'roles/logging.viewer' or higher.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
roles/logging.privateLogViewer
Why this is correct
This role grants read access to Data Access audit logs and Admin Activity logs, which is the minimum required.
- ✗
roles/logging.viewer
Why it's wrong here
Logging Viewer can view Admin Activity logs but not Data Access audit logs.
- ✗
roles/iam.securityReviewer
Why it's wrong here
Security Reviewer provides read access to IAM policies and audit logs, but not specifically to the private log viewer role.
- ✗
roles/logging.admin
Why it's wrong here
Logging Admin includes private log viewer, but it grants broader permissions like configuring logs sinks, which may be excessive.
Go deeper
Related to this question
Learn chapter
Identity and Access Management (IAM)
Key term
IAM role
An IAM role is a set of permissions that an entity can assume temporarily to access cloud resources securely.
Key term
Least privilege
Least privilege is a security principle that means giving users, systems, or programs only the minimum permissions they need to do their job and nothing more.
About these practice questions
This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.