Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 348

    A company is developing a serverless application by using AWS Lambda functions. One of the Lambda functions needs to access an Amazon RDS DB instance. The DB instance is in a private subnet inside a VPC.

    The company creates a role that includes the necessary permissions to access the DB instance. The company then assigns the role to the Lambda function. A developer must take additional action to give the Lambda function access to the DB instance.

    What should the developer do to meet these requirements?

    • Assign a public IP address to the DB instance. Modify the security group of the DB instance to allow inbound traffic from the IP address of the Lambda function.

    • Set up an AWS Direct Connect connection between the Lambda function and the DB instance.

    • Configure an Amazon CloudFront distribution to create a secure connection between the Lambda function and the DB instance.

    • Configure the Lambda function to connect to the private subnets in the VPC. Add security group rules to allow traffic to the DB instance from the Lambda function.


    シャッフルモード