exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 87 discussion

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

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
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
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.

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
badrobot
Highly Voted 2 years, 7 months ago
ELB will create a SG for itself if we opt to, and we can refer another SG(ec2 sg in this case) as source :/ It's D. If the question is about the best practice, then 2 SG's are needed for this setup!
upvoted 10 times
...
albert_kuo
Most Recent 9 months ago
Selected Answer: D
When an Elastic Load Balancer (ELB) is created, it will create and manage its own security group by default. This security group is automatically configured to allow incoming traffic from the configured listeners (ports) of the ELB and restrict outgoing traffic to the instances associated with the ELB. The instances associated with the ELB will continue to use their own security groups, and the ELB's security group will be separate from the instance security groups. So, when you create an ELB with three instances, it will create only one security group for itself by default. This single security group will handle the traffic to and from the instances through the ELB.
upvoted 1 times
...
jjcode
1 year, 11 months ago
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html Elastic Load Balancing creates only one such security group per AWS account, with a name of the form default_elb_id (for example, default_elb_fc5fbed3-0405-3b7d-a328-ea290EXAMPLE). Subsequent load balancers that you create in the default VPC also use this security group. D seems correct
upvoted 1 times
...
RicardoD
2 years, 6 months ago
D is the Answer It allows you to use one default security group or choose a pre existing one
upvoted 3 times
...
Cakemanator
2 years, 6 months ago
Tested Answer is D
upvoted 4 times
...
onlinebaba
2 years, 6 months ago
C Source SG to ensure EC2 receives traffic only from ELB, and second SG that defining the ingress rules for the EC2 instances, which needs the first Source SC
upvoted 1 times
...
2aldous
2 years, 6 months ago
There is a significant difference between the way Classic Load Balancers support security groups in EC2-Classic and in a VPC. In EC2-Classic, the load balancer provides a special source security group that you can use to ensure that instances receive traffic only from your load balancer. You can't modify this source security group. In a VPC, you provide the security group for your load balancer, which enables you to choose the ports and protocols to allow. For example, you can open Internet Control Message Protocol (ICMP) connections for the load balancer to respond to ping requests (however, ping requests are not forwarded to any instances).
upvoted 1 times
...
Devendra87
2 years, 6 months ago
Its D ELB can create one SG group only by default
upvoted 4 times
...
gretch
2 years, 6 months ago
it's D
upvoted 3 times
gretch
2 years, 6 months ago
http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html
upvoted 1 times
...
...
narayanan010
2 years, 6 months ago
I don't see how an ELB can have two Security groups created by default; the security group defining the ingress-rules for the back-end instances will have to be created by the user. The answer should be D - 1 Security Group created by default.
upvoted 4 times
...
dennismp
2 years, 7 months ago
D is the ans, by default in the ELB console it can only create 1 security group or select 1 from existing group!
upvoted 4 times
...
awscertified
2 years, 7 months ago
answer C. 2
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