Courseiva
Monitoring and TroubleshootinghardMultiple ChoiceObjective-mapped

DBS-C01 Monitoring and Troubleshooting Practice Question

Exhibit

Refer to the exhibit.

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "rds:DescribeDBInstances",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "rds:CreateDBInstance",
      "Resource": "*"
    },
    {
      "Effect": "Deny",
      "Action": "rds:DeleteDBInstance",
      "Resource": "arn:aws:rds:us-east-1:123456789012:db:production-db"
    }
  ]
}
```

Refer to the exhibit. An IAM policy is attached to a user. The user reports that they cannot delete the production-db database. Which statement best explains the behavior?

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

An explicit Deny statement prevents the deletion of the production-db instance

The IAM policy includes an explicit Deny statement that specifically denies the DeleteDBInstance action on the production-db instance. In IAM, an explicit Deny overrides any Allow, so even if other statements allow DeleteDBInstance, this Deny prevents the deletion. Option B is incorrect because the policy does allow DeleteDBInstance on other resources, so the issue is not a lack of general permissions. Option C is incorrect because the policy includes Allow on DescribeDBInstances. Option D is incorrect because the policy does not restrict CreateDBInstance; the problem is specific to deletion of production-db.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • An explicit Deny statement prevents the deletion of the production-db instance

    Why this is correct

    Explicit Deny overrides Allow.

  • The user needs additional permissions to delete any DB instance

    Why it's wrong here

    The Deny is specific to production-db.

  • The user does not have permission to describe DB instances

    Why it's wrong here

    DescribeDBInstances is allowed on *.

  • The user does not have permission to create a DB instance

    Why it's wrong here

    The policy allows CreateDBInstance.

About these practice questions

Courseiva writes every DBS-C01 question from scratch — 1,663 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on DBS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A developer is troubleshooting an application that is unable to write to a DynamoDB table. The above IAM policy is attached to the IAM role used by the application. What is the likely cause?

easy
  • A.The Deny statement overrides the Allow statement, blocking all DynamoDB actions.
  • B.The table name in the Resource ARN is incorrect.
  • C.The IAM user does not exist.
  • D.The role is not correctly assumed by the application.

Why A: The Deny statement for all DynamoDB actions overrides the Allow for PutItem. Deny statements always take precedence over Allow statements. Option B is incorrect because the table name in the Resource ARN is correct. Option C is incorrect because the IAM user does exist. Option D is incorrect because the role is assumed correctly.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services 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 DBS-C01 exam.