exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 299 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 299
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A security engineer is working with a company to design an ecommerce application. The application will run on Amazon EC2 instances that run in an Auto Scaling group behind an Application Load Balancer (ALB). The application will use an Amazon RDS DB instance for its database.
The only require connectivity from the internet is for HTTP and HTTPS traffic to the application. The application must communicate with an external payment provider that allows traffic only from a preconfigured allow list of IP addresses. The company must ensure that communicators with the external payment provider are not interrupted as the environment scales.
Which combination of actions should the security engineer recommend to meet these requirements? (Choose three.)

  • A. Deploy a NAT gateway in each private subnet for every Availability Zone that is in use.
  • B. Place the DB instance in a public subnet.
  • C. Place the DB instance in a private subnet.
  • D. Configure the Auto Scaling group to place the EC2 instances in a public subnet.
  • E. Configure the Auto Scaling group to place the EC2 instances in a private subnet.
  • F. Deploy the ALB in a private subnet.
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

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
Radhaghosh
Highly Voted 3 years, 3 months ago
This Question Options are not correct Either, Option A --> NAT is Public Subnet or Option F --> ALB is Public Subnet. Below are valid C. Place the DB instance in a private subnet. E. Configure the Auto Scaling group to place the EC2 instances in a private subnet. So either ACE or CEF
upvoted 5 times
Radhaghosh
3 years, 3 months ago
I mean to say either "Option A*" should be --> NAT is Public Subnet or "Option F*"should be --> ALB is Public Subnet. Based on that either A*CE or CEF*
upvoted 2 times
...
...
hro
Most Recent 1 year, 1 month ago
Public subnets have a direct route to an internet gateway, while private subnets do not. Resources in a private subnet require a NAT device to access the public internet. A C E
upvoted 1 times
...
Raphaello
1 year, 2 months ago
Selected Answer: ACE
Keyword: " preconfigured allow list of IP addresses" >>> private NAT GW. A C E would make sense. https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-scenarios.html#private-nat-allowed-range
upvoted 1 times
...
ahrentom
1 year, 6 months ago
Selected Answer: CEF
Anwsers CEF
upvoted 1 times
...
AWSvad
1 year, 7 months ago
ACE, according to ChatGPT. A) Deploy a NAT Gateway in each private subnet for every Availability Zone that is in use: - This is required to allow EC2 instances in private subnets to initiate outbound connections to the internet. This is necessary for software updates, package installations, and other tasks that require internet access, such as communicating with the external payment provider. C) Place the DB instance in a private subnet: - Placing the RDS DB instance in a private subnet provides an additional layer of security by not exposing the database directly to the internet. It ensures that database traffic is routed through the VPC and not accessible from the public internet. E) Configure the Auto Scaling group to place the EC2 instances in a private subnet: - Similar to the database instance, EC2 instances should also be placed in private subnets for security reasons. This ensures that incoming traffic to your application passes through the ALB (which can be in a public subnet) but doesn't expose the instances directly to the internet.
upvoted 2 times
...
Braindumpjr
1 year, 7 months ago
Selected Answer: CEF
To meet the requirements of only allowing internet access to the application via HTTP/HTTPS, ensure connectivity to the external payment provider as the environment scales, and isolate the database, the security engineer should recommend: C) Place the DB instance in a private subnet E) Configure the Auto Scaling group to place the EC2 instances in a private subnet F) Deploy the ALB in a public subnet C and E place the application components in private subnets, limiting internet access. F puts the ALB in a public subnet to allow ingress of HTTP/HTTPS traffic. Together this provides isolation and limits external connectivity while allowing internet traffic to the application via the load balancer. A and D are incorrect because public subnets provide direct internet access which violates the requirements. B is incorrect because the database should not be in a public subnet.
upvoted 1 times
...
Toptip
1 year, 11 months ago
Selected Answer: AB
A - sounds weird since NAT Gateway can't be deployed in Private subnet (Probably copy/past issue). but i can't find any other solution for this situation. So i'm choosing anyway A+B+E which is in simple words: Moving the DB and the APP layer to private subnet and deploy NAT gateway which will be associated with an ENI+Static IP
upvoted 2 times
Toptip
1 year, 11 months ago
Sorry i meant: A+C+E
upvoted 1 times
...
captainpike
1 year, 9 months ago
Yes. it can. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
upvoted 1 times
...
...
ITGURU51
2 years ago
These actions will ensure that only HTTP and HTTPS traffic from the internet can reach the application, while allowing communication with the external payment provider through the NAT gateway. Placing the DB instance and EC2 instances in private subnets will provide an additional layer of security. ACE are the best choices here.
upvoted 1 times
...
Ell89
2 years, 2 months ago
i dont think the answers are correct to chose 3 from. whoever is choosing A needs their head examining.
upvoted 1 times
...
Jimmy123
2 years, 3 months ago
Selected Answer: CEF
The security engineer should recommend the following actions: C. Place the DB instance in a private subnet. E. Configure the Auto Scaling group to place the EC2 instances in a private subnet. F. Deploy the ALB in a private subnet. This will ensure that the communication with the external payment provider is not interrupted as the environment scales and only HTTP and HTTPS traffic is allowed from the internet.
upvoted 3 times
...
jishrajesh
2 years, 4 months ago
ACE is correct
upvoted 3 times
...
D2
2 years, 5 months ago
C and E are correct. However, something wrong in wordings of A or D options. NAT must be in public subnet, so is ALB
upvoted 3 times
...
dcasabona
2 years, 9 months ago
Selected Answer: AEF
The question says that BD will be running on AWS RDS, so we don't need to worry about it. It also asks to to break the app as the system grows, so implement ASG and ALB in private subnets and use NAT gateway to be able to communicate to external world.
upvoted 1 times
Root_Access
2 years, 8 months ago
The only require connectivity from the internet is for HTTP and HTTPS traffic to the application. You cant put your ALB in private subnet and get internet traffic.
upvoted 1 times
...
...
subhoaws
2 years, 9 months ago
Thanks for the answers. ACE is correct
upvoted 2 times
...
sapien45
2 years, 10 months ago
Selected Answer: ACE
Standard Load Balancers Best PRactices
upvoted 2 times
...
TigerInTheCloud
3 years, 1 month ago
There are only two right answers C and E.
upvoted 2 times
...
lotfi50
3 years, 2 months ago
Selected Answer: ACE
i think A C E
upvoted 4 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