Courseiva
Management and OperationsmediumMultiple ChoiceObjective-mapped

DBS-C01 Management and Operations Practice Question

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "rds:RestoreDBInstanceFromDBSnapshot",
      "Resource": "arn:aws:rds:us-east-1:123456789012:snapshot:*"
    },
    {
      "Effect": "Allow",
      "Action": "rds:CreateDBInstance",
      "Resource": "arn:aws:rds:us-east-1:123456789012:db:*"
    }
  ]
}

An IAM user has the policy shown. The user is trying to restore a DB instance from a manual snapshot using the AWS CLI. The restore fails with an access denied error. What is the most likely reason?

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

The policy does not grant the rds:RestoreDBInstanceFromDBSnapshot action on the DB instance resource.

The restore operation (rds:RestoreDBInstanceFromDBSnapshot) requires permission on both the snapshot resource and the DB instance resource. The IAM policy grants the action on snapshot resources (as indicated by the snapshot resource ARN), but does not grant it on the DB instance resource (the DB instance resource ARN is missing or not included for the restore action). Therefore, the restore fails with access denied even though the user can list snapshots. Option A correctly identifies this issue. Option B is incorrect because the action is spelled correctly (the policy allows the action on snapshots). Option C is incorrect because there is no mention of encryption or KMS key in the scenario. Option D is incorrect because the snapshot resource ARN can use a wildcard; the lack of a specific snapshot ID is not the issue.

Answer analysis

Option-by-option breakdown

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

  • The policy does not grant the rds:RestoreDBInstanceFromDBSnapshot action on the DB instance resource.

    Why this is correct

    The restore action requires permission on both the snapshot and the DB instance.

  • The rds:RestoreDBInstanceFromDBSnapshot action is misspelled.

    Why it's wrong here

    The action name is correct.

  • The snapshot is encrypted and the user does not have permission to use the KMS key.

    Why it's wrong here

    Not indicated in the policy or scenario.

  • The snapshot resource ARN does not include the specific snapshot ID.

    Why it's wrong here

    The wildcard '*' covers all snapshots.

About these practice questions

One of 1,663 original DBS-C01 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 →

How Courseiva writes practice questions · Editorial policy

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.