DVA-C02 Question 300
Single answerYou are developing a serverless application that uses AWS Lambda and needs a secure way to manage and deploy application dependencies (e.g., third-party libraries). The application must ensure that dependencies are version-controlled and can be shared across multiple development teams. Which AWS service would best meet this requirement?
- A
AWS CodeArtifact
- B
AWS Amplify
- C
AWS CloudFormation
- D
AWS CodePipeline
Show answer and explanation
Correct answer: A
Explanation
The best service for managing and deploying application dependencies in this scenario is AWS CodeArtifact. It provides a secure and version-controlled repository for storing software packages, which can be shared across teams. This ensures that dependencies used in AWS Lambda functions or other applications are managed efficiently and consistently.
- A. Correct.
AWS CodeArtifact is a fully managed artifact repository that allows you to securely store, publish, and share software packages used as dependencies in your applications, making it ideal for managing serverless application dependencies.
- B. Incorrect.
AWS Amplify is primarily used for building and deploying full-stack applications, particularly frontend and mobile apps. It is not specifically designed for managing application dependencies or package repositories.
- C. Incorrect.
AWS CloudFormation is a service for managing infrastructure as code, allowing you to model and provision AWS resources. However, it does not handle application dependency management.
- D. Incorrect.
AWS CodePipeline is a CI/CD service for automating application deployment workflows. While it can be part of the deployment process, it does not provide a solution for dependency management.