ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 369 - SOA-C02 discussion

Report
Export

A company deploys a new application on three Amazon EC2 instances across three Availability Zones The company uses a Network Load Balancer (NLB) to route traffic lo the EC2 instances. A SysOps administrator must implement a solution so that the EC2 instances allow traffic from only the NLB.

What should the SysOps administrator do to meet these requirements with the LEAST operational overhead?

A.
Configure the security group that is associated with the EC2 instances to allow traffic from only the security group that is associated with the NLB.
Answers
A.
Configure the security group that is associated with the EC2 instances to allow traffic from only the security group that is associated with the NLB.
B.
Configure the security group that is associated with the EC2 instances to allow traffic from only the elastic network interfaces that are associated with the NLB.
Answers
B.
Configure the security group that is associated with the EC2 instances to allow traffic from only the elastic network interfaces that are associated with the NLB.
C.
Create a network ACL. Associate the network ACL with the application subnets. Configure the network ACL to allow inbound traffic from only the CIDR ranges of the NLB.
Answers
C.
Create a network ACL. Associate the network ACL with the application subnets. Configure the network ACL to allow inbound traffic from only the CIDR ranges of the NLB.
D.
Use a third-party firewall solution that is installed on a separate EC2 instance. Configure a firewall rule that allows traffic to the application's EC2 instances from only the subnets where the NLB is deployed
Answers
D.
Use a third-party firewall solution that is installed on a separate EC2 instance. Configure a firewall rule that allows traffic to the application's EC2 instances from only the subnets where the NLB is deployed
Suggested answer: A

Explanation:

Configuring Security Groups:

Security groups act as virtual firewalls for your instances to control inbound and outbound traffic.

Steps:

Go to the AWS Management Console.

Navigate to EC2.

Select 'Security Groups' from the left-hand menu.

Find and select the security group associated with your EC2 instances.

Choose the 'Inbound rules' tab and click 'Edit inbound rules.'

Add a rule to allow traffic from the security group associated with the NLB.

Type: Custom TCP (or the specific port your application uses)

Source: Select 'Custom' and enter the ID of the NLB's security group.

This setup ensures that the EC2 instances accept traffic only from the NLB, enhancing security with minimal operational overhead.

asked 16/09/2024
Oscar Ballabriga
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first