DVA-C02 practice question · Troubleshooting and Optimization
A developer is unsure whether a specific IAM policy actually grants a particular action on a particular resource…
A developer is unsure whether a specific IAM policy actually grants a particular action on a particular resource, without wanting to actually attempt the action and risk a real change. What tool can help evaluate this?
- AThe IAM policy simulator
- BCloudWatch Logs Insights
- CAWS X-Ray
- DAmazon Inspector
Show the answer and explanation
Correct answer: A) The IAM policy simulator
Why each option is right or wrong
- A) Correct. The IAM policy simulator lets you test whether a given identity's policies would allow or deny a specific action on a specific resource, without actually performing the action, which is ideal for debugging permission issues safely.
- B) Incorrect. Logs Insights queries existing log data; it doesn't simulate hypothetical policy evaluations ahead of time.
- C) Incorrect. X-Ray traces requests through a distributed application; it isn't a tool for testing IAM policy logic.
- D) Incorrect. Inspector performs automated vulnerability assessments of workloads; it isn't designed for testing whether a specific IAM policy allows a specific action.
- Exam domain
- Troubleshooting and Optimization · 18% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- An asynchronously invoked Lambda function keeps failing, and after its configured retries are exhausted, the event seems…Troubleshooting and Optimization
- A Lambda function that processes messages from an SQS queue in batches fails when just one message in a batch of 10 is…Troubleshooting and Optimization
- An application publishes custom CloudWatch metrics for request count, error rate, and p99 latency.Troubleshooting and Optimization
- An application intermittently receives ThrottlingException errors from an AWS service API that it calls through the AWS…Troubleshooting and Optimization
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.