Topic 1 Question 516
A developer needs to configure an AWS Lambda function to make HTTP POST requests to an internal application. The application is in the same AWS account that hosts the function. The internal application runs on Amazon EC2 instances in a private subnet within a VPC.
Which solution will meet these requirements?
Configure a VPC endpoint to connect to the private subnet. Attach the endpoint to the Lambda function.
Attach the Lambda function to the VPC and to the private subnet.
Configure a VPN connection between the Lambda function and the private subnet. Attach the VPN to the Lambda function.
Configure the VPC route table to include the Lambda function’s IP address.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: B
When your Lambda function needs to access resources within a VPC, such as Amazon EC2 instances in a private subnet, you need to configure the Lambda function to run within that VPC. This is done by specifying the VPC, subnet(s), and security group(s) in the Lambda configuration. Once attached to the VPC and subnet, the Lambda function can make HTTP requests to the internal application running on the EC2 instances in the private subnet.
👍 3xdeveloper2024/12/27 - 正解だと思う選択肢: D
Lambda Function logs request information (e.g., timestamp, processing time, status) using the default logging mechanism. Create custom CloudWatch metrics in a specific namespace based on these logs.
👍 1YUICH2024/12/15
シャッフルモード