Exam Logo

Amazon (DVA-C01) Exam Questions And Answers page 26

A developer is creating a role to access Amazon S3 buckets. To create the role, the developer uses the AWS CLI create-role command.

Which policy should be added to allow the Amazon EC2 service to assume the role?
Storage Services Security and Identity Services
A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless Application Model (AWS SAM) template for the application.

What should the developer use for the project? (Choose two.)
Developer Tools Serverless
A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless Application Model (AWS SAM) template for the application.

What should the developer use for the project? (Choose two.)
Developer Tools Serverless
A developer is creating a serverless ecommerce application that is based on AWS Lambda. An asynchronous workflow manages the checkout process and must orchestrate different Lambda functions. The workflow runs one function for each item in the shopping cart. The developer is using AWS Step Functions to orchestrate the process.

The checkout process is running the Lambda functions serially, and the developer needs to improve the performance of the process.

What should the developer do to meet these requirements?
Security and Identity Services Serverless
A developer is creating a serverless web application and maintains different branches of code. The developer wants to avoid updating the Amazon API Gateway target endpoint each time a new code push is performed.

What solution would allow the developer to perform a code push efficiently, without the need to update the API Gateway?
Serverless
A Developer is creating a serverless website with content that includes HTML files, images, videos, and JavaScript (client-side scripts).

Which combination of services should the Developer use to create the website?
Storage Services Networking and Content Delivery
A Developer is creating a template that uses AWS CloudFormation to deploy an application. This application is serverless and uses Amazon API Gateway, Amazon DynamoDB, and AWS Lambda.

Which tool should the Developer use to define simplified syntax for expressing serverless resources?
Security and Identity Services Deployment and Management
A Developer is creating a web application that requires authentication, but also needs to support guest access to provide users limited access without having to authenticate. What service can provide support for the application to allow guest access?
Security and Identity Services
A Developer is creating a web application that requires authentication, but also needs to support guest access to provide users limited access without having to authenticate. What service can provide support for the application to allow guest access?
Security and Identity Services
A developer is creating a web service that will assist a company s new employees during onboarding. The web service must interact with several corporate systems. For example, the web service must log a request with the IT team for a new notebook and must request an access card from security. Each request can occur in parallel. When all the steps are complete, the web service returns either a successful response or an error.

The web service is invoked by a single REST request to an Amazon API Gateway API. The REST request returns the reference number. Data that is captured can be captured only once.

Which solution will meet these requirements MOST cost-effectively?
Compute Services Deployment and Management