ANS-C01 Network Design Practice Question
Exhibit
Refer to the exhibit.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:CreateVpnConnection",
"ec2:DeleteVpnConnection",
"ec2:DescribeVpnConnections",
"ec2:CreateCustomerGateway",
"ec2:DeleteCustomerGateway",
"ec2:CreateVpnGateway",
"ec2:AttachVpnGateway",
"ec2:DetachVpnGateway"
],
"Resource": "*"
}
]
}
```A network engineer is creating an IAM policy for a DevOps team. The team needs to manage VPN connections. What is the effect of this policy?
⚠ Common exam trap
AWS often tests the misconception that a wildcard resource ARN like `*vpn*` only covers VPN connections, but it actually includes all VPN-related resources (gateways, customer gateways), and the `ec2:*` action allows all operations, not just read or limited management.
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
✓
Allows full management of VPN connections and associated resources.
The IAM policy grants the `ec2:*` action on VPN-related resources (`*vpn*`), which includes all VPN connection operations (create, modify, delete, describe) and associated resources like VPN gateways and customer gateways. This full wildcard on VPN resources enables complete lifecycle management, making option B correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Denies deletion of VPN connections.
Why it's wrong here
No Deny statement exists.
- ✓
Allows full management of VPN connections and associated resources.
Why this is correct
All actions are allowed on all resources.
- ✗
Restricts access to only VPN connections.
Why it's wrong here
Also allows management of customer gateways and VPN gateways.
- ✗
Allows read-only access to VPN configurations.
Why it's wrong here
Includes write actions like Create and Delete.
Go deeper
Related to this question
About these practice questions
Courseiva writes every ANS-C01 question from scratch — 1,621 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-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 ANS-C01 exam.