Topic 1 Question 407
A SysOps administrator is re-architecting an application. The SysOps administrator has moved the database from a public subnet, where the database used a public endpoint, into a private subnet to restrict access from the public network. After this change, an AWS Lambda function that requires read access to the database cannot connect to the database. The SysOps administrator must resolve this issue without compromising security.
Which solution meets these requirements?
Create an AWS PrivateLink interface endpoint for the Lambda function. Connect to the database using its private endpoint.
Connect the Lambda function to the database VPC. Connect to the database using its private endpoint.
Attach an IAM role to the Lambda function with read permissions to the database.
Move the database to a public subnet. Use security groups for secure access.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: A
I think A.
👍 1LemonGremlin2023/12/31 Its answer C. As every lambda needs permissions to access resources inside a vpc: https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AWSLambdaVPCAccessExecutionRole.html
👍 1Kipalom2024/01/01I think A AWS Lambda now supports AWS PrivateLink which lets you create, manage, and invoke Lambda functions securely from inside your virtual private cloud (VPC) or on-premises data centers without exposing traffic to the public Internet. https://aws.amazon.com/blogs/aws/new-use-aws-privatelink-to-access-aws-lambda-over-private-aws-network/
👍 1LemonGremlin2024/01/01
シャッフルモード