PAS-C01 Operations and Maintenance Practice Question
Exhibit
Refer to the exhibit.
AWS CloudFormation template snippet:
```yaml
Resources:
SAPAppServer:
Type: AWS::EC2::Instance
Properties:
InstanceType: !Ref InstanceType
ImageId: !Ref LatestAmiId
SecurityGroupIds:
- !Ref SecurityGroup
UserData:
Fn::Base64: !Sub |
#!/bin/bash
/opt/sap/install.sh
```Refer to the exhibit. An operations team uses this CloudFormation template to launch SAP application servers. After deployment, the application server fails to join the SAP system. The team verified that the security group allows outbound traffic to the SAP system. What is the MOST likely cause?
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 `LatestAmiId` parameter is not defined in the template.
The template uses `!Ref LatestAmiId` which does not exist as a parameter; it should be a parameter or a mapping. Option A is wrong because the instance type is parameterized. Option B is wrong because the security group is referenced correctly. Option C is wrong because the user data script is base64 encoded correctly.
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 instance type is not specified correctly.
Why it's wrong here
InstanceType is a parameter reference, which is valid.
- ✗
The security group ID is not properly referenced.
Why it's wrong here
SecurityGroupIds uses !Ref SecurityGroup, which is correct.
- ✗
The user data script is not base64 encoded correctly.
Why it's wrong here
Fn::Base64 is used correctly.
- ✓
The `LatestAmiId` parameter is not defined in the template.
Why this is correct
!Ref LatestAmiId requires a parameter or mapping that is not defined.
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.