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 402 discussion

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

A company is hosting a set of application, database, and web server instances in the AWS Cloud. Each set of instances has separate security groups. The company has properly defined the network ACLs. The company discovers an issue with the communication between the application and database instances.

Which set of steps should a security engineer take to troubleshoot the issue?

  • A. Check the inbound rules for the database security group. Check the outbound rules for the application security group.
  • B. Check the outbound rules for the database security group. Check the inbound rules for the application security group.
  • C. Check the inbound rules for the database security group. Check the inbound rules for the application security group.
  • D. Check the outbound rules for the database security group. Check the inbound rules and the outbound rules for the application security group.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
AdamWest
Highly Voted 2 years, 5 months ago
Selected Answer: A
A : The access rules enforced by your local firewall and the IP addresses authorized to access your DB instance might not match. The problem is most likely the inbound rules in your security group. By default, DB instances don't allow access. Access is granted through a security group https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Troubleshooting.html
upvoted 7 times
...
ITGURU51
Most Recent 2 years ago
The inbound rule for the security group needs to be configured for the database servers. Since the traffic flow is going from the application servers to the database tier we need to ensure that the outbound rule is configured correctly on the application tier. A
upvoted 1 times
...
krishccie
2 years, 4 months ago
Selected Answer: A
Source is Application and Destination would be DB. So DB inbound SG needs to be in place. Security groups are stateful allowing return traffic for the matching session and return traffic is on the random port so no SG for the return (Inbound on the application) is needed.
upvoted 2 times
...
Leonardocp33
2 years, 4 months ago
Selected Answer: A
Think it is A assuming application is the origin and database is the destination, SG has default allow outbound rule 0.0.0.0/0, so this option makes more sense to me
upvoted 1 times
...
awsec2
2 years, 4 months ago
B. Check the outbound rules for the database security group. Check the inbound rules for the application security group. To communicate with the database instances, the application instances need to be able to send traffic to the database instances. Therefore, the security engineer should check the outbound rules for the database security group to make sure that the traffic from the application instances is allowed.
upvoted 1 times
secdaddy
2 years, 4 months ago
You wrote "check the outbound rules for the database security group to make sure that the traffic from the application instances is allowed." - but this is inbound traffic (to the database) so inbound rules for the database security group.
upvoted 2 times
...
...
yew2
2 years, 4 months ago
Think it is A also but this seems like a trick question of sorts can someone confirm ?
upvoted 1 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