Courseiva
TechnologyeasyMultiple ChoiceObjective-mapped

PAS-C01 Technology Practice Question

Exhibit

Refer to the exhibit.

```
Resources:
  MySAPInstance:
    Type: AWS::EC2::Instance
    Properties:
      InstanceType: r5.2xlarge
      ImageId: ami-0abcdef1234567890
      BlockDeviceMappings:
        - DeviceName: /dev/xvda
          Ebs:
            VolumeSize: 50
            VolumeType: gp2
```

Refer to the exhibit. A CloudFormation template is used to launch an EC2 instance for SAP. The instance launches but the root volume is only 50 GB. The SAP installation requires at least 100 GB for the root volume. How should the template be modified?

⚠ Common exam trap

This question tests the misconception that changing the instance type or AMI alone can adjust root volume size, when in fact the BlockDeviceMapping is the explicit mechanism to control root volume size at launch.

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

Change VolumeSize from 50 to 100 in the BlockDeviceMapping.

The CloudFormation template explicitly defines the root volume size in the BlockDeviceMapping property. By changing VolumeSize from 50 to 100, the template will provision a new EC2 instance with a 100 GB root volume, meeting the SAP installation requirement. The BlockDeviceMapping overrides the default root volume size from the AMI, so this is the precise way to control volume size at launch.

Answer analysis

Option-by-option breakdown

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

  • Change VolumeSize from 50 to 100 in the BlockDeviceMapping.

    Why this is correct

    Increasing the VolumeSize value will allocate a larger root volume.

  • Change the InstanceType to a larger instance.

    Why it's wrong here

    Instance type does not affect root volume size.

  • Modify the running instance's root volume size using the AWS Management Console.

    Why it's wrong here

    The template is used for new launches; the question asks to modify the template.

  • Change the ImageId to an AMI with a larger root volume.

    Why it's wrong here

    The AMI may have a smaller root volume; the template overrides it.

About these practice questions

One of 1,616 original PAS-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 PAS-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 PAS-C01 exam.