DVA-C02 · Question #596
A company has a serverless application that uses Amazon API Gateway and AWS Lambda functions to expose a RESTful API. The company uses a continuous integration and continuous delivery (CI/CD) workflow
The correct answer is C. Use AWS CodePipeline to create a CI/CD pipeline. Configure API Gateway stages to represent. AWS CodePipeline automates the entire CI/CD pipeline, including build, deploy, and test stages. This minimizes manual effort and integrates well with AWS services. API Gateway Stages: Represent different environments, such as dev, test, and prod, allowing isolated deployment and
Question
A company has a serverless application that uses Amazon API Gateway and AWS Lambda functions to expose a RESTful API. The company uses a continuous integration and continuous delivery (CI/CD) workflow to deploy the application to multiple environments. The company wants to implement automated integration tests after deployment. A developer needs to set up the necessary infrastructure and processes to automate the deployment and integration tests for the serverless application. Which solution will meet these requirements?
Options
- AConfigure API Gateway stages to represent each application environment. Use AWS SAM
- BConfigure API Gateway stages to represent each application environment. Use AWS
- CUse AWS CodePipeline to create a CI/CD pipeline. Configure API Gateway stages to represent
- DUse AWS CloudFormation to create and deploy the application infrastructure in each application
How the community answered
(21 responses)- A5% (1)
- B14% (3)
- C76% (16)
- D5% (1)
Explanation
AWS CodePipeline automates the entire CI/CD pipeline, including build, deploy, and test stages. This minimizes manual effort and integrates well with AWS services. API Gateway Stages: Represent different environments, such as dev, test, and prod, allowing isolated deployment and AWS CloudFormation Templates: Ensure that the infrastructure for Lambda and API Gateway is consistent across environments. AWS CodeBuild for Automated Tests: Validates the deployments in each stage, ensuring integration and functionality are tested post-deployment.
Community Discussion
No community discussion yet for this question.