Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Data Engineer - Associate · AWS
Select 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
C - Lambda runs in an AWS-managed VPC by default. Attaching the Lambda to the same VPC+Subnet as the DB Instance means fully-private network connection. D - Attach same SG to both Lambda and DB Instance, and a self-referencing rule - allows the Lambda and DB to talk to each other.
I would go with B & D. As C would have operational overhead in my opinion.
D is wrong. It is a bad security practice for a DB to share SG with the client. C is correct compared to the other opinions (A & E).