exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 629 discussion

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

An application resides on multiple EC2 instances in public subnets in two Availability Zones. To improve security, the Information Security team has deployed an
Application Load Balancer (ALB) in separate subnets and pointed the DNS at the ALB instead of the EC2 instances.
After the change, traffic is not reaching the instances, and an error is being returned from the ALB.
What steps must a SysOps Administrator take to resolve this issue and improve the security of the application? (Choose two.)

  • A. Add the EC2 instances to the ALB target group, configure the health check, and ensure that the instances report healthy.
  • B. Add the EC2 instances to an Auto Scaling group, configure the health check to ensure that the instances report healthy, and remove the public IPs from the instances.
  • C. Create a new subnet in which EC2 instances and ALB will reside to ensure that they can communicate, and remove the public IPs from the instances.
  • D. Change the security group for the EC2 instances to allow access from only the ALB security group, and remove the public IPs from the instances.
  • E. Change the security group to allow access from 0.0.0.0/0, which permits access from the ALB.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
10 months ago
Selected Answer: AD
By adding the EC2 instances to the ALB target group, you allow the ALB to route traffic to the instances. It is essential to configure the health check settings to ensure that the instances are healthy and capable of serving traffic. The ALB periodically checks the health of the instances based on the configured health check settings and directs traffic only to healthy instances. To improve the security of the application, it is recommended to restrict access to the EC2 instances from only the ALB. This can be achieved by modifying the security group rules for the instances and allowing inbound traffic only from the security group associated with the ALB. This ensures that traffic is allowed only from the ALB and not directly from the public internet. Additionally, removing the public IPs from the instances enhances security by preventing direct access to the instances.
upvoted 1 times
...
Adeshina
2 years, 2 months ago
The default answer is correct B and D
upvoted 1 times
...
TroyMcLure
2 years, 6 months ago
Correct Answer: A & D like @XRiddlerX said: "The Security Team deployed the ALB (Application Load Balancer) with no registered targets. When they reconfigured the DNS name to point to the ALB instead of the EC2 instances, a query to the DNS name will fail. First, a sysadmin will need to, A, add the EC2 instances to the ALB target group, configure the health checks, and make sure they are healthy. Second, a sysadmin will need to, D, Change the security group for the EC2 instances to allow access from only the ALB security group, and remove the public IPs from the instances. With the healthy EC2 instances registered as targets in the ALB, proper security group configured, and the removal of the public IPs you have successfully met their requirements. Review How to create an application load balancer here : https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-application-load-balancer.html"
upvoted 3 times
...
Drey
2 years, 6 months ago
it's A and D.
upvoted 4 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