How many security groups will ELB create by default?

A user has created an ELB with three instances. How many security groups will ELB create by default?

A user has created an ELB with three instances. How many security groups will ELB create by default?

A.
3

B.
5

C.
2

D.
1

Explanation:
Elastic Load Balancing provides a special Amazon EC2 source security group that the user can use to ensure
that back-end EC2 instances receive traffic only from Elastic Load Balancing. This feature needs two security
groups: the source security group and a security group that defines the ingress rules for the back-end
instances. To ensure that traffic only flows between the load balancer and the back-end instances, the user can
add or modify a rule to the back-end security group which can limit the ingress traffic. Thus, it can come only
from the source security group provided by Elastic load Balancing.



Leave a Reply 0

Your email address will not be published. Required fields are marked *


Blahidos

Blahidos

Answer is D.

From the docs Ratna linked: “Elastic Load Balancing creates only one such security group per AWS account”

BigMike

BigMike

Agree. Subsequent load balancers that you create in the default VPC also use this security group.

sevenkings

sevenkings

C
2 (One for ELB to allow inbound and Outbound to listener and health check port of instances and One for the Instances to allow inbound from ELB)

Megol

Megol

Answer is D, when you creating an ELB you can assign more than one security group but one is enough.

Nagarjuna D N

Nagarjuna D N

Question is not quite clear. If we look at “How many security groups will ELB create by default?”
Answer would be 1 security group, either it can use default or user created security group.

I think answer might be D.

BDA

BDA

C

BDA

BDA

I was wrong, the answer for EC2-Default is one security group is created by default.

Manan Kapadia

Manan Kapadia

Answer is C:

2 (One for ELB to allow inbound and Outbound to listener and health check port of instances and One for the Instances to allow inbound from ELB)

Abril

Abril

D…
C only applies with the EC2 classic