exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 294 discussion

Exam question from Amazon's AWS-SysOps
Question #: 294
Topic #: 1
[All AWS-SysOps Questions]

A user has created a VPC with public and private subnets using the VPC Wizard. The VPC has CIDR 20.0.0.0/16. The private subnet uses CIDR 20.0.0.0/24.
Which of the below mentioned entries are required in the main route table to allow the instances in VPC to communicate with each other?

  • A. Destination : 20.0.0.0/24 and Target : VPC
  • B. Destination : 20.0.0.0/16 and Target : ALL
  • C. Destination : 20.0.0.0/0 and Target : ALL
  • D. Destination : 20.0.0.0/24 and Target : Local
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Option A doesn't use standard AWS terminology (you don't route to "VPC"), and because the mask is /24, it would only allow the instances in the private subnet to communicate with each other, not all the instances in the VPC as the question asked. Here's an example VPC route table for a public subnet (i.e. it routes to the
IGW). Option D is the correct one.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nicat
Highly Voted 2 years, 6 months ago
All answer are wrong. Answer should be "Destination : 20.0.0.0/16 and Target : Local"
upvoted 15 times
dexdinh91
5 months ago
you are correct
upvoted 1 times
...
Finger41
1 year, 9 months ago
You are correct - https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html Should be "Destination : 20.0.0.0/16 and Target : Local"
upvoted 1 times
...
Phil31
2 years, 6 months ago
And what about the potential instances launched in the public subnet? Subnet for which the CIDR is not specified in the question. For me the answer is D in order to take into account communication between all instances launched in both subnets.
upvoted 2 times
Phil31
2 years, 6 months ago
Sorry, I'm wrong.I have read a little too quickly. You're right it should have a mistake on the B for the target or D for the CIDR.
upvoted 1 times
...
...
...
JGD
Most Recent 2 years, 6 months ago
Answer: B ( Allow any subnet within VPC). D is no, because bydefault same subnet instance can communicate with each other.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago