ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 325 - SCS-C01 discussion

Report
Export

You are planning on hosting a web application on AWS. You create an EC2 Instance in a public subnet. This instance needs to connect to an EC2 Instance that will host an Oracle database. Which of the following steps should be followed to ensure a secure setup is in place? Select 2 answers. Please select:

A.
Place the EC2 Instance with the Oracle database in the same public subnet as the Web server for faster communication
Answers
A.
Place the EC2 Instance with the Oracle database in the same public subnet as the Web server for faster communication
B.
Place the EC2 Instance with the Oracle database in a separate private subnet
Answers
B.
Place the EC2 Instance with the Oracle database in a separate private subnet
C.
Create a database security group and ensure the web security group to allowed incoming access
Answers
C.
Create a database security group and ensure the web security group to allowed incoming access
D.
Ensure the database security group allows incoming traffic from 0.0.0.0/0
Answers
D.
Ensure the database security group allows incoming traffic from 0.0.0.0/0
Suggested answer: B, C

Explanation:

The best secure option is to place the database in a private subnet. The below diagram from the AWS Documentation shows this setup. Also ensure that access is not allowed from all sources but just from the web servers.

Option A is invalid because databases should not be placed in the public subnet

Option D is invalid because the database security group should not allow traffic from the internet For more information on this type of setup, please refer to the below URL:

https://docs.aws.amazon.com/AmazonVPC/latest/UserGuideA/PC Scenario2.

The correct answers are: Place the EC2 Instance with the Oracle database in a separate private subnet Create a database security group and ensure the web security group to allowed incoming access Submit your Feedback/Queries to our Experts

asked 16/09/2024
Akram Abou Soultan
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first