PAS-C01 Migration Practice Question
Exhibit
Refer to the exhibit.
{
"Resources": {
"SAPApplicationServer": {
"Type": "AWS::EC2::Instance",
"Properties": {
"InstanceType": "r5.2xlarge",
"ImageId": "ami-0abcdef1234567890",
"SecurityGroupIds": ["sg-12345678"],
"SubnetId": "subnet-12345678",
"BlockDeviceMappings": [
{
"DeviceName": "/dev/xvda",
"Ebs": {
"VolumeSize": 50,
"VolumeType": "gp2"
}
}
],
"Tags": [
{"Key": "Name", "Value": "SAP-AS"}
]
}
}
}
}The exhibit shows a CloudFormation template snippet. During migration, the SAP application server fails to start because the root volume is too small. What is the most efficient fix?
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
✓
Modify the template to increase VolumeSize to 100 and update the stack.
Modifying the template to increase the volume size and updating the stack is the proper Infrastructure as Code approach. Option A is wrong because modifying the volume directly is not recommended for CloudFormation-managed resources. Option C is wrong because stopping the instance is not necessary for volume modification, but the template should be updated. Option D is wrong because deleting and recreating is less efficient.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Manually resize the EBS volume via the AWS Console and then update the stack.
Why it's wrong here
Manual changes may cause drift; the template should be updated.
- ✓
Modify the template to increase VolumeSize to 100 and update the stack.
Why this is correct
Updating the stack with a new template is the correct method.
- ✗
Stop the instance, modify the volume size, and start the instance.
Why it's wrong here
This is manual and not aligned with CloudFormation best practices.
- ✗
Delete the stack and create a new one with a larger volume.
Why it's wrong here
Recreating is less efficient than updating.
Go deeper
Related to this question
About these practice questions
This PAS-C01 question is part of Courseiva's 1,616-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.