Q: 3
A developer has an application that is composed of many different AWS Lambda functions. The
Lambda functions all use some of the same dependencies. To avoid security issues the developer is
constantly updating the dependencies of all of the Lambda functions. The result is duplicated effort
to reach function.
How can the developer keep the dependencies of the Lambda functions up to date with the LEAST
additional complexity?
Options
Discussion
Makes sense to pick B here. Macie is built for scanning S3 buckets for sensitive data like credit card info, and "Financial" is the right finding type for that. Saw a similar question in some practice tests.
Saw this kind of question in some practice before and I thought D makes sense since CodeCommit would let you centralize the dependencies. It feels like less extra setup than layers, right? Anyone else go this way?
D here. Storing all dependencies in CodeCommit sounds practical since you get everything in one spot, so updates are easier to roll out across functions. Managing a repo feels less AWS-specific but still kinda centralized. Not positive this is what AWS wants for least complexity, but it seems like a reasonable way to avoid updating each Lambda separately. Agree?
Has anyone seen official exam questions lean toward D? Practice test books sometimes suggest centralizing via CodeCommit instead of Lambda layers too.
Probably D, since CodeCommit centralizes dependencies and feels less involved than layers to me.
Had something like this in a mock, went with D.
Its C, since Lambda layers are designed to share dependencies between multiple functions. You just update the layer and all attached functions get the change. Pretty sure that's the least complicated way AWS wants you to solve this.
CodeCommit isn't really helping with Lambda dependency management here. C.
C all the way. Lambda layers let you update shared dependencies once and attach to all functions, so you avoid duplicating updates everywhere. Saw a similar question on practice exams, pretty sure that's what AWS expects here. Anyone disagree?
I see why people are picking D, since using CodeCommit feels simple for centralizing code. D.
Be respectful. No spam.
Question 3 of 35