exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 577 discussion

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

A web application runs on Amazon EC2 instances with public IPs assigned behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The application stores data in an Amazon RDS Multi-AZ DB instance. The Application Load Balancer, EC2 instances, and RDS
DB instance all run in separate sets of subnets. The EC2 instances can communicate with the DB instance, but cannot connect with external services.
What is the MOST likely solution?

  • A. Assign a public IP address to the database server and restart the database engine.
  • B. Create and attach an Internet gateway to the VPC. Create a route table for the EC2 instance's subnets that sends Internet traffic to the gateway.
  • C. Create and attach a virtual private gateway to the VPC. Create a route table for the EC2 instances' subnets that sends Internet traffic to the gateway.
  • D. Create a VPC peering connection to a VPC that has an Internet gateway attached. Create a route table for the EC2 instances' subnets that sends Internet traffic to the peered VPC.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
albert_kuo
9 months, 4 weeks ago
Selected Answer: B
The EC2 instances in the Auto Scaling group are currently unable to connect with external services, which indicates a lack of internet connectivity. To enable the instances to communicate with external services, an Internet gateway needs to be attached to the VPC. By attaching an Internet gateway to the VPC, you establish a connection between the VPC and the internet. This allows the EC2 instances in the subnets to send and receive internet traffic. To route the traffic correctly, a route table needs to be configured for the EC2 instance's subnets, with a route that directs internet traffic to the Internet gateway.
upvoted 1 times
...
ablazleon
2 years, 1 month ago
Selected Answer: B
But this is the point, isn't it? You want to attach an IGW so the instances can access the outer world
upvoted 1 times
...
LuizMarques
2 years, 6 months ago
Please review this question, it is poorly writen: The EC2 instances can communicate with the DB instance, but cannot connect with external services. This would mean that the web server cant connect to the internet but all answers try to expose the ec2 to external connection.
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