Courseiva
Accelerate Workload Migration and ModernizationeasyMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

Exhibit

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMigrationHubAccess",
      "Effect": "Allow",
      "Action": [
        "mgh:CreateProgressUpdateStream",
        "mgh:PutResourceAttributes",
        "mgh:AssociateCreatedArtifact",
        "mgh:DisassociateCreatedArtifact",
        "mgh:NotifyMigrationTaskState",
        "mgh:DescribeMigrationTask",
        "mgh:ListMigrationTasks",
        "mgh:ListProgressUpdateStreams"
      ],
      "Resource": "*"
    }
  ]
}

Refer to the exhibit. A company is using AWS Migration Hub to track migrations. The above IAM policy is attached to an IAM role used by the migration tool. The migration tool reports that it cannot register the migration task with Migration Hub. Which action should the company add to the policy to fix the issue?

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

mgh:ImportMigrationTask

The migration tool needs mgh:ImportMigrationTask to register a migration task. Option B (AssociateDiscoveredResource) is for associating resource data, not registering tasks. Option C (CreateHomeRegion) is not needed. Option D (GetHomeRegion) is read-only.

Answer analysis

Option-by-option breakdown

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

  • mgh:ImportMigrationTask

    Why this is correct

    The migration tool needs mgh:ImportMigrationTask to register a migration task.

  • mgh:AssociateDiscoveredResource

    Why it's wrong here

    mgh:AssociateDiscoveredResource is for associating resource data, not registering tasks.

  • mgh:CreateHomeRegion

    Why it's wrong here

    mgh:CreateHomeRegion is not needed.

  • mgh:GetHomeRegion

    Why it's wrong here

    mgh:GetHomeRegion is read-only.

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 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

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 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 SAP-C02 exam.