PCSE Practice Question: Configuring Access Within a Cloud Solution Environment
A DevOps engineer needs to create a custom IAM role that allows creating and deleting Compute Engine instances but not stopping or starting them. Which permissions should be included?
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
✓
compute.instances.create and compute.instances.delete
To create and delete instances, the permissions compute.instances.create and compute.instances.delete are required. compute.instances.stop and compute.instances.start are separate permissions for stopping/starting. compute.instances.update is for modifying existing instances.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
compute.instances.start and compute.instances.stop
Why it's wrong here
These are for start/stop, not create/delete.
- ✗
compute.instances.create, compute.instances.delete, and compute.instances.update
Why it's wrong here
Includes update, which is not needed.
- ✓
compute.instances.create and compute.instances.delete
Why this is correct
Correct: these allow create and delete only.
- ✗
compute.instances.create
Why it's wrong here
Missing delete permission.
Go deeper
Related to this question
About these practice questions
One of 960 original PCSE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCSE 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 PCSE exam.