exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 158 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 158
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company has a serverless application that uses AWS Lambda functions and AWS Systems Manager parameters to store configuration data. The company moves the Lambda functions inside the VPC and into private subnets. The Lambda functions are now producing errors in their attempts to access Systems Manager parameters.

Which solution will allow the Lambda functions to access Systems Manager parameters inside the VPC?

  • A. Configure security groups to allow access to Systems Manager.
  • B. Create an interface VPC endpoint for Systems Manager.
  • C. Use an Internet gateway from inside the VPC.
  • D. Create a gateway VPC endpoint for Systems Manager.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dark_cherrymon
Highly Voted 2 years, 5 months ago
Selected Answer: B
B "Set up an interface endpoint in your Amazon VPC that allows your function to access Systems Manager." https://aws.amazon.com/premiumsupport/knowledge-center/lambda-vpc-parameter-store/
upvoted 7 times
...
AsmaZoheb
Most Recent 1 year, 3 months ago
Selected Answer: B
A is not a solution because even if you create a security group, private subnets won't be able to access AWS Systems Manager. Security groups control inbound and outbound traffic, but they don't provide network routes. C Internet gateways are always connected to public subnets and are not suitable. D VPC gateway endpoints are typically used for services like S3 and DynamoDB. correct solution is B: Create an interface VPC endpoint for Systems Manager, which ensures that Lambda functions can securely access Systems Manager from within the VPC
upvoted 2 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: B
We have to create a VPC interface endpoint to enable communication with other services that are not in the VPC. I will go for B
upvoted 1 times
...
SindhujaGanji
1 year, 10 months ago
Generally, Interface endpoint and Gateway endpoint both are used for connection to VPC private subnet, but Gateway only supports few AWS resources like DynamoDB, S3 and it doesn't support cloudwatch and systems manager. Where as, interface endpoint also supports few AWS resources and systems manager is one among them. So, answer is interface endpoint
upvoted 4 times
...
MrTee
1 year, 12 months ago
To allow Lambda functions to access Systems Manager parameters inside a VPC, a gateway VPC endpoint for Systems Manager should be created. VPC endpoints allow secure connections between resources in your VPCs and AWS services, without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection1. Based on this information, the correct answer would be D. Create a gateway VPC endpoint for Systems Manager.
upvoted 1 times
...
Syre
2 years ago
Selected Answer: D
Answer is D here. To allow Lambda functions to access Systems Manager parameters inside a VPC, a gateway VPC endpoint for Systems Manager should be created. VPC endpoints allow secure connections between resources in your VPCs and AWS services, without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection. Option B is incorrect because an interface VPC endpoint is not supported for Systems Manager.
upvoted 2 times
...
sichilam
2 years, 3 months ago
Selected Answer: B B "Set up an interface endpoint in your Amazon VPC that allows your function to access Systems Manager."
upvoted 1 times
...
fabriciollf
2 years, 4 months ago
Selected Answer: B
B is the correct answer
upvoted 1 times
...
techiegeekie
2 years, 4 months ago
Selected Answer: B
gateway endpoints only support s3 and dynamodb
upvoted 4 times
...
michaldavid
2 years, 4 months ago
bbbbbbbbb
upvoted 1 times
...
CloudHandsOn
2 years, 5 months ago
B. This allows you to keep the resource inside the VPC private, while still accessing system manager privately
upvoted 1 times
...
AKRAMPO
2 years, 5 months ago
Selected Answer: B
https://aws.amazon.com/premiumsupport/knowledge-center/lambda-vpc-parameter-store/
upvoted 2 times
...
sionita
2 years, 5 months ago
D-Create a gateway VPC endpoint for Systems Manager. https://aws.amazon.com/premiumsupport/knowledge-center/lambda-vpc-parameter-store/
upvoted 1 times
speer
2 years, 4 months ago
The link you have provided talks about creating Interface Endpoint and not Gateway VPC Endpoint. So correct answer would be 'B'
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago