Missing SubnetId in CloudFormation NetworkInterface for SAP EC2
This PAS-C01 practice question tests your understanding of technology. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
An SAP administrator is reviewing a CloudFormation template snippet shown in the exhibit. The template creates an EC2 instance for SAP. What is missing from the template to ensure the instance is placed in a specific subnet?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The SubnetId property is not specified in the NetworkInterface
Option A is correct because the CloudFormation template snippet shows a NetworkInterface property being used to attach the EC2 instance to a VPC network. When you specify a NetworkInterface, you must include the SubnetId within that interface definition to place the instance in a specific subnet. Without SubnetId, the instance will be launched into the default subnet of the default VPC, which may not be the intended subnet for SAP workloads requiring specific network segmentation or latency constraints.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 SubnetId property is not specified in the NetworkInterface
Why this is correct
SubnetId is required to place the instance in a subnet.
Related concept
Read the scenario before looking for a memorised answer.
✗
The InstanceType is not suitable for SAP
Why it's wrong here
r5.4xlarge is suitable for SAP.
✗
The ImageId is invalid
Why it's wrong here
ImageId is provided, though it's a placeholder.
✗
The SecurityGroup reference is missing
Why it's wrong here
SecurityGroup is referenced via !Ref.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume the SubnetId can be specified at the instance level even when using NetworkInterface, but AWS CloudFormation requires SubnetId to be defined inside the NetworkInterface when that property is present, and omitting it causes the instance to launch in the default subnet rather than failing with a clear error.
Detailed technical explanation
How to think about this question
In CloudFormation, when you define a NetworkInterface within an EC2 instance resource, you must explicitly set the SubnetId property to control the subnet placement. If you omit SubnetId, AWS defaults to the default subnet in the default VPC, which can cause network isolation issues for SAP systems that require placement in specific subnets (e.g., private subnets with specific route tables or NAT gateways). Additionally, the NetworkInterface property is mutually exclusive with the SubnetId property at the instance level—if you use NetworkInterface, you cannot specify SubnetId in the instance's Properties block, making the SubnetId inside the NetworkInterface mandatory.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
Visual reference
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Technology — This question tests Technology — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The SubnetId property is not specified in the NetworkInterface — Option A is correct because the CloudFormation template snippet shows a NetworkInterface property being used to attach the EC2 instance to a VPC network. When you specify a NetworkInterface, you must include the SubnetId within that interface definition to place the instance in a specific subnet. Without SubnetId, the instance will be launched into the default subnet of the default VPC, which may not be the intended subnet for SAP workloads requiring specific network segmentation or latency constraints.
What should I do if I get this PAS-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.