Courseiva
Deployment and MigrationeasyMultiple ChoiceObjective-mapped

DBS-C01 Deployment and Migration Practice Question

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "dms:CreateReplicationTask",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "dms:DatabaseEngine": "oracle"
        }
      }
    }
  ]
}

Refer to the exhibit. An IAM policy allows creation of a DMS replication task only if the source database engine is Oracle. A user attempts to create a replication task with a MySQL source. What will happen?

⚠ Common exam trap

Watch out — candidates often assume a wildcard resource ('*') grants blanket permission, overlooking that conditions in the Allow statement must be satisfied for the Allow to take effect, and that IAM's default behavior is to deny any request that does not match an applicable Allow.

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 action will be denied because the condition does not match.

The IAM policy includes a condition that requires the source engine to be Oracle. When the user attempts to create a DMS replication task with a MySQL source, the condition fails, and IAM denies the action by default. The explicit deny is not needed; IAM uses an implicit deny when no policy statement allows the action under the given conditions.

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 action will fail with an error because the policy is malformed.

    Why it's wrong here

    Policy is valid.

  • The action will succeed but the task will fail later.

    Why it's wrong here

    The policy denies the API call.

  • The action will be allowed because the resource is '*'.

    Why it's wrong here

    Condition restricts to Oracle.

  • The action will be denied because the condition does not match.

    Why this is correct

    Condition fails for MySQL.

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.