ExamGecko
Home Home / Amazon / DVA-C01

Amazon DVA-C01 Practice Test - Questions Answers, Page 52

Question list
Search
Search

List of questions

Search

Related questions











A movie fan club hosts a serverless web application in an Amazon S3 bucket. The application uses an AWS Lambda function that is exposed by an Amazon API Gateway API. The function queries an Amazon DynamoDB table to list actors sorted by movie. In the DynamoDB table. Actor is the primary key, Movie is the sort key, and Role and Year are attributes. In the web application, a developer wants to add a page that is named Phase 1 that lists only the movies that were released between 2008 and 2012. The developer needs to fetch the Phase 1 items in a way that minimizes the impact on the DynamoDB table.

Which solution will meet these requirements?

A.
Create a global secondary index (GSl) with the Year attribute as the sort key. Create a Lambda function to return the results from a new method in the API.
A.
Create a global secondary index (GSl) with the Year attribute as the sort key. Create a Lambda function to return the results from a new method in the API.
Answers
B.
Design a Lambda function that scans the DynamoDB table and filters the results for the Phase 1 items. Invoke the function from a new method in the API.
B.
Design a Lambda function that scans the DynamoDB table and filters the results for the Phase 1 items. Invoke the function from a new method in the API.
Answers
C.
Use a DynamoDB stream to send items that are filtered by Year to a new DynamoDB table. Invoke a Lambda function from a new method in the API.
C.
Use a DynamoDB stream to send items that are filtered by Year to a new DynamoDB table. Invoke a Lambda function from a new method in the API.
Answers
D.
Set up an Amazon CloudFront distribution. Create a Lambda@Edge function to filter the items that are returned from the API request.
D.
Set up an Amazon CloudFront distribution. Create a Lambda@Edge function to filter the items that are returned from the API request.
Answers
Suggested answer: B

A company is concerned that a malicious user could deploy unauthorized changes to the code for an AWS Lambda function. What can a developer do to ensure that only trusted code is deployed to Lambda?

A.
Turn on the trusted code option in AWS CodeDeploy. Add the CodeDeploy digital certificate to the Lambda package before deploying the package to Lambda
A.
Turn on the trusted code option in AWS CodeDeploy. Add the CodeDeploy digital certificate to the Lambda package before deploying the package to Lambda
Answers
B.
Define the code signing configuration in the Lambda console Use AWS Signer to digitally sign the Lambda package before deploying the package to Lambda
B.
Define the code signing configuration in the Lambda console Use AWS Signer to digitally sign the Lambda package before deploying the package to Lambda
Answers
C.
Link Lambda to AWS Key Management Service (AWS KMS) in the Lambda console. Use AWS KMS to digitally sign the Lambda package before deploying the package to Lambda.
C.
Link Lambda to AWS Key Management Service (AWS KMS) in the Lambda console. Use AWS KMS to digitally sign the Lambda package before deploying the package to Lambda.
Answers
D.
Set the KmsKeyArn property of the Lambda function to the Amazon Resource Name (ARN) of a trusted key before deploying the package to Lambda.
D.
Set the KmsKeyArn property of the Lambda function to the Amazon Resource Name (ARN) of a trusted key before deploying the package to Lambda.
Answers
Suggested answer: B

A developer wants to migrate a Windows .NET application that is running on IIS with a Microsoft SQL Server database to AWS. The developer does not want to think about provisioning and managing the infrastructure. What should the developer do to migrate the application with the LEAST amount of effort?

A.
Launch Amazon EC2 instances for Windows Server. Back up and restore the database to Amazon RDS. Deploy the web application to the new EC2 instances
A.
Launch Amazon EC2 instances for Windows Server. Back up and restore the database to Amazon RDS. Deploy the web application to the new EC2 instances
Answers
B.
Back up and restore the database to Amazon RDS. Use the .NET Migration Assistant for AWS Elastic Beanstalk to migrate the web application to a preconfigured solution stack that Elastic Beanstalk provides.
B.
Back up and restore the database to Amazon RDS. Use the .NET Migration Assistant for AWS Elastic Beanstalk to migrate the web application to a preconfigured solution stack that Elastic Beanstalk provides.
Answers
C.
Migrate the database to Amazon DynamoDB Use Amazon API Gateway and AWS Lambda to create a web application interface that is hosted in an Amazon S3 bucket.
C.
Migrate the database to Amazon DynamoDB Use Amazon API Gateway and AWS Lambda to create a web application interface that is hosted in an Amazon S3 bucket.
Answers
D.
Containerize the application on premises. Push the image to Amazon Elastic Container Registry(Amazon ECR). Create an AWS CloudFormation template to deploy the application
D.
Containerize the application on premises. Push the image to Amazon Elastic Container Registry(Amazon ECR). Create an AWS CloudFormation template to deploy the application
Answers
Suggested answer: B

What are the MINIMUM properties required in the resources section of the AppSpace file for CodeDeploy to deploy the ECS service successfully?

A.
name, alias, currentversion, and targetversion
A.
name, alias, currentversion, and targetversion
Answers
B.
TaskDefinition, ContainerName, and PlartformVersion
B.
TaskDefinition, ContainerName, and PlartformVersion
Answers
C.
TaskDefinitionContainerName, ContainerPort
C.
TaskDefinitionContainerName, ContainerPort
Answers
D.
name, Currentversion, NetworkConfiguration, and Platform Version
D.
name, Currentversion, NetworkConfiguration, and Platform Version
Answers
Suggested answer: A

A developer is designing a serverless application for an ecommerce website. An Amazon API Gateway API exposes..... user operations. The website features shopping carts for the users. The shopping carts must be stored for extended..... the front-end application.

The load on the application will vary significantly based on the time of day and the promotional sales that are offered..... scale automatically to meet these changing demands. Which solution will meet these requirements?

A.
Store the data objects on an Amazon RDS DB instance. Cache the data objects in memory by using Amazon ElastiCache.
A.
Store the data objects on an Amazon RDS DB instance. Cache the data objects in memory by using Amazon ElastiCache.
Answers
B.
Store the data objects on Amazon EC2 instances behind an Application Load Balancer. Use session affinity (sticky sessions) for each user's shopping cart.
B.
Store the data objects on Amazon EC2 instances behind an Application Load Balancer. Use session affinity (sticky sessions) for each user's shopping cart.
Answers
C.
Store the data objects in Amazon S3 buckets. Cache the data objects by using Amazon CloudFront with the maximum TTL.
C.
Store the data objects in Amazon S3 buckets. Cache the data objects by using Amazon CloudFront with the maximum TTL.
Answers
D.
Store the data objects in Amazon DynamoDB tables. Cache the data objects by using DynamoDB Accelerator (DAX).
D.
Store the data objects in Amazon DynamoDB tables. Cache the data objects by using DynamoDB Accelerator (DAX).
Answers
Suggested answer: D

Which solution will meet these requirements?

A.
Build the container from the amazon/aws-xray-daemon base image. Use the AWS X-Ray SDK to instrument the application.
A.
Build the container from the amazon/aws-xray-daemon base image. Use the AWS X-Ray SDK to instrument the application.
Answers
B.
Install the Amazon CloudWatch agent on the container image. Use the CloudWatch SDK to publish custom metrics from each of the microservices.
B.
Install the Amazon CloudWatch agent on the container image. Use the CloudWatch SDK to publish custom metrics from each of the microservices.
Answers
C.
Install the AWS X-Ray daemon on each of the ECS instances.
C.
Install the AWS X-Ray daemon on each of the ECS instances.
Answers
D.
Configure AWS CloudTrail data events to capture the traffic between the microservices.
D.
Configure AWS CloudTrail data events to capture the traffic between the microservices.
Answers
Suggested answer: C

A developer is migrating to Amazon Cognito from a custom user management solution that stores user information in a database. The developer has created a…… Amazon Cognito user pool. The developer needs to migrate the existing user information to the user pool without forcing users to change their passwords.

Which solution will meet these requirements?

A.
Import users from a .csv file.
A.
Import users from a .csv file.
Answers
B.
Add an OpenID Connect (OIDC) identity provider to the user pool.
B.
Add an OpenID Connect (OIDC) identity provider to the user pool.
Answers
C.
Import users from a .json file.
C.
Import users from a .json file.
Answers
D.
Import users with a user migration AWS Lambda trigger.
D.
Import users with a user migration AWS Lambda trigger.
Answers
Suggested answer: B

A developer has created a Java application that makes HTTP requests directly to AWS services.

Application logging shows 5xx HTTP response codes that occ irregular intervals. The errors areaffecting users. How should the developer update the application to improve the application's resiliency?

A.
Revise the request content in the application code.
A.
Revise the request content in the application code.
Answers
B.
Use the AWS SDK for Java to interact with AWS APIs.
B.
Use the AWS SDK for Java to interact with AWS APIs.
Answers
C.
Scale out the application so that more instances of the application are running.
C.
Scale out the application so that more instances of the application are running.
Answers
D.
Add additional logging to the application code.
D.
Add additional logging to the application code.
Answers
Suggested answer: B

A developer designed an application on an Amazon EC2 instance. The application makes API requests to objects in an Amazon S3 bucket. Which combination of steps will ensure that the application makes the API requests in the MOST secure manner? (Select TWO.)

A.
Create an IAM user that has permissions to the S3 bucket. Add the user to an 1AM group.
A.
Create an IAM user that has permissions to the S3 bucket. Add the user to an 1AM group.
Answers
B.
Create an IAM role that has permissions to the S3 bucket.
B.
Create an IAM role that has permissions to the S3 bucket.
Answers
C.
Add the IAM role to an instance profile. Attach the instance profile to the EC2 instance.
C.
Add the IAM role to an instance profile. Attach the instance profile to the EC2 instance.
Answers
D.
Create an IAM role that has permissions to the S3 bucket. Assign the role to an 1AM group.
D.
Create an IAM role that has permissions to the S3 bucket. Assign the role to an 1AM group.
Answers
E.
Store the credentials of the 1AM user in the environment variables on the EC2 instance.
E.
Store the credentials of the 1AM user in the environment variables on the EC2 instance.
Answers
Suggested answer: B, C

A company is migrating a legacy application to a serverless application on AWS. The legacy application consists of a set of web services that are exposed by a Amazon API Gateway API. A developer needs to replace the existing implementation of web services with AWS Lambda functions. The developer needs to test new version of the" API that uses the functions in production. The developer must minimize the impact of the testing on the application's users.

Which solution will meet these requirements?

A.
Create a beta stage for the new version of the API. Send the updated endpoint to the users.
A.
Create a beta stage for the new version of the API. Send the updated endpoint to the users.
Answers
B.
Create a development stage for the new version of the API. Use a canary deployment.
B.
Create a development stage for the new version of the API. Use a canary deployment.
Answers
C.
Create a development stage for the new version of the API. Promote a canary release.
C.
Create a development stage for the new version of the API. Promote a canary release.
Answers
D.
Create a deployment stage. Enable mutual TLS for the new version of the API.
D.
Create a deployment stage. Enable mutual TLS for the new version of the API.
Answers
Suggested answer: C
Total 608 questions
Go to page: of 61