• Skip to main content
  • Skip to primary sidebar

Sample Questions

The Most Recent Exam & Test Questions

  • How It Works?
  • Browse Questions
  • Contribute
Home / Amazon / AWS SysOps Administrator / Security group policies for a web application running on AWS

Security group policies for a web application running on AWS

1 answer

A sysops administrator is implementing security group policies for a web application running on AWS. An Elastic Load Balancer connects to a fleet of Amazon EC2 instances that connect to an Amazon RDS database over port 1521. The security groups are named elbSG, ec2SG, and rdsSG, respectively.

How should these security groups be implemented?

  1. elbSG: allow port 80 and 443 from 0.0.0.0/0;
    ec2SG: allow port 443 from elbSG;
    rdsSG: allow port 1521 from ec2SG.
  2. elbSG: allow port 80 and 443 from 0.0.0.0/0;
    ec2SG: allow port 80 and 443 from elbSG and rdsSG;
    rdsSG: allow port 1521 from ec2SG.
  3. elbSG: allow port 80 and 443 from ec2SG;
    ec2SG: allow port 80 and 443 from elbSG and rdsSG;
    rdsSG: allow port 1521 from ec2SG.
  4. elbSG: allow port 80 and 443 from ec2SG;
    ec2SG: allow port 443 from elbSG;
    rdsSG: allow port 1521 from elbSG.

Find more questions from AWS SysOps Administrator

Reader Interactions

Discussion

  1. admin

    6 September 2020 at 3:44 PM

    elbSG must allow all web traffic [1] (HTTP and HTTPS) from the internet. ec2SG must allow traffic from the load balancer only, in this case identified as traffic from elbSG. The database must allow traffic from the EC2 instances only, in this case identified as traffic from ec2SG.

    [1] https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html

    Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Twitter
  • YouTube

Other Tests & Exams

  • Amazon
    • AWS Solutions Architect
    • AWS SysOps Administrator
  • Freelancer
    • Analog Electronics Level 1
    • Java Level 1
    • US English Level 1
  • Google
    • Google Analytics Individual Qualification
  • TOEFL
    • Reading Comprehension
  • Facebook
  • Twitter
  • YouTube
  • Instagram
  • Pinterest

Copyright © 2022 SampleQuestions.info · Hyderabad, India

Go to mobile version