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 is retiring this exam on Nov 30, 2026.
Replacement: DVA-C03 Practice Exam
Question 40 of 167
Free Preview · 167 of 554 · questions 1–167 of 554 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B) Eliminated - Placing the Lambda function in a public subnet compromises security C) Eliminated - The rule should allow traffic to SG2 (the database’s security group) from SG1 (the Lambda function’s security group), not the other way around. D) Eliminated - Adds significant operational complexity
this one is badly written hehe I would say A, but they missed to mention that this only works securely if the secgroup is listed as destination of the rules. B would also work, but you need to properly configure it....
Correction answer should be option C. Lambda function, configure VPC1 access, and assign separate security groups: Lambda Function: Associate the Lambda function with VPC1. Security Group (SG1): Assign SG1 to the Lambda function. Security Group (SG2): Assign a second security group (SG2) to the Aurora database. Inbound Rule: Add an inbound rule to SG1 to allow TCP traffic from Port 3306 (Aurora database port). This approach ensures proper separation of concerns and simplifies security group management.