ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A developer is refactoring a monolithic application. The application takes a POST request and performs several operations. Some of the operations are in parallel while others run sequentially. These operations have been refactored into individual AWS Lambda functions. The POST request will be processed by Amazon API Gateway. How should the developer invoke the Lambda functions in the same sequence using API Gateway*?

A.
Use Amazon SQS to invoke the Lambda functions
A.
Use Amazon SQS to invoke the Lambda functions
Answers
B.
Use an AWS Step Functions activity to run the Lambda functions
B.
Use an AWS Step Functions activity to run the Lambda functions
Answers
C.
Use Amazon SNS to trigger the Lambda functions
C.
Use Amazon SNS to trigger the Lambda functions
Answers
D.
Use an AWS Step Functions state machine to orchestrate the Lambda functions.
D.
Use an AWS Step Functions state machine to orchestrate the Lambda functions.
Answers
Suggested answer: A

A company has a legacy application that was migrated to a fleet of Amazon EC2 instances. The application stores data in a MySQL database that is currently installed on a single EC2 instance The company has decided to migrate the database from the EC2 instance to MySQL on Amazon RDS.

What should the developer do to update the application to support data storage in Amazon RDS?

A.
Update the database connection parameters in the application to point to the new RDS instance
A.
Update the database connection parameters in the application to point to the new RDS instance
Answers
B.
Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
B.
Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
Answers
C.
Create a new EC2 instance with an IAM role that allows access to the new RDS database
C.
Create a new EC2 instance with an IAM role that allows access to the new RDS database
Answers
D.
Create an AWS Lambda function that will route traffic from the EC2 instance to the RDS database.
D.
Create an AWS Lambda function that will route traffic from the EC2 instance to the RDS database.
Answers
Suggested answer: A

A company is adding stored value for gift card) capability to its highly popular casual gaming website. Users need to be able to trade this value for other users' items on the platform. This would require both users' records be updated as a single transaction, or both users' records to be completely rolled back. Which AWS database options can provide the transactional capability required for this new feature?

(Select TWO )

A.
Amazon DynamoDB with operations made with the ConsistentRead parameter set to true
A.
Amazon DynamoDB with operations made with the ConsistentRead parameter set to true
Answers
B.
Amazon ElastiCache for Memcached with operations made within a transaction block
B.
Amazon ElastiCache for Memcached with operations made within a transaction block
Answers
C.
Amazon Aurora MySQL with operations made within a transaction block
C.
Amazon Aurora MySQL with operations made within a transaction block
Answers
D.
Amazon DynamoDB with reads and writes made using Transact" operations
D.
Amazon DynamoDB with reads and writes made using Transact" operations
Answers
E.
Amazon Redshift with operations made within a transaction block
E.
Amazon Redshift with operations made within a transaction block
Answers
Suggested answer: C, D

A developer is implementing authentication and authorization for an application. The developer needs to ensure that the user credentials are never exposed. Which approach should the developer take to meet this requirement?

A.
Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users
A.
Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users
Answers
B.
Deploy a custom authentication and authorization API on an Amazon EC2 instance. Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3 server-side encryption.
B.
Deploy a custom authentication and authorization API on an Amazon EC2 instance. Store the user credentials in Amazon S3 and encrypt the credentials using Amazon S3 server-side encryption.
Answers
C.
Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the users.
C.
Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the users.
Answers
D.
Store the user credentials In Amazon RDS Enable the encryption option for the Amazon RDS D8 instances Build an API using AWS Lambda to validate the credentials and authorize users
D.
Store the user credentials In Amazon RDS Enable the encryption option for the Amazon RDS D8 instances Build an API using AWS Lambda to validate the credentials and authorize users
Answers
Suggested answer: C

A developer wants to ensure the Amazon EC2 instances in AWS Elastic Beanstalk execute a certain set of commands before the application is ready to use Which Elastic Beanstalk feature will allow the developer to accomplish this?

A.
Rolling update
A.
Rolling update
Answers
B.
Immutable update
B.
Immutable update
Answers
C.
User data
C.
User data
Answers
D.
ebextensions
D.
ebextensions
Answers
Suggested answer: D

A developer has written a serverless application and wants to deploy it to AWS Lambda to leverage the function's multi-threaded execution to improve performance. Which action should the developer take to achieve these requirements?

A.
increase the Lambda function execution timeout
A.
increase the Lambda function execution timeout
Answers
B.
Use unreserved account concurrency.
B.
Use unreserved account concurrency.
Answers
C.
Increase the memory allocation of the Lambda function
C.
Increase the memory allocation of the Lambda function
Answers
D.
Set the reserved concurrency of the Lambda function to a higher number
D.
Set the reserved concurrency of the Lambda function to a higher number
Answers
Suggested answer: C

A developer is migrating code to an AWS Lambda function that will access an Amazon Aurora MySQL database. What is the MOST secure way to authenticate the function to the database?

A.
Store the database credentials as encrypted parameters in AWS Systems Manager Parameter Store Obtain the credentials from Systems Manager when the Lambda function needs to connect to the database
A.
Store the database credentials as encrypted parameters in AWS Systems Manager Parameter Store Obtain the credentials from Systems Manager when the Lambda function needs to connect to the database
Answers
B.
Store the database credentials in AWS Secrets Manager Let Secrets Manager handle the rotation of the credentials, as required
B.
Store the database credentials in AWS Secrets Manager Let Secrets Manager handle the rotation of the credentials, as required
Answers
C.
Store the database credentials in an Amazon S3 bucket that has a restrictive bucket policy for the Lambda role only when accessing the credentials Use AWS KMS to encrypt the data
C.
Store the database credentials in an Amazon S3 bucket that has a restrictive bucket policy for the Lambda role only when accessing the credentials Use AWS KMS to encrypt the data
Answers
D.
Create a policy with rds-db connect access to the database and attach it to the role assigned to the Lambda function
D.
Create a policy with rds-db connect access to the database and attach it to the role assigned to the Lambda function
Answers
Suggested answer: B

A company has a two-tier application running on an Amazon EC2 server that handles all of its AWS based e-commerce activity During peak times, the backend servers that process orders are overloaded with requests. This results in some orders failing to process. A developer needs to create a solution that will re-factor the application. Which steps will allow for more flexibility during peak times, while still remaining cost-effective?

(Select TWO.)

A.
Increase the backend T2 EC2 instance sees to xl to handle the largest possible load throughout the year
A.
Increase the backend T2 EC2 instance sees to xl to handle the largest possible load throughout the year
Answers
B.
implement an Amazon SQS queue to decouple the front-end and backend servers
B.
implement an Amazon SQS queue to decouple the front-end and backend servers
Answers
C.
Use an Amazon SNS queue to decouple the front-end and backend servers.
C.
Use an Amazon SNS queue to decouple the front-end and backend servers.
Answers
D.
Migrate the backend servers to on-premises and pull from an Amazon SNS queue
D.
Migrate the backend servers to on-premises and pull from an Amazon SNS queue
Answers
E.
Modify the backend servers to pull from an Amazon SQS queue.
E.
Modify the backend servers to pull from an Amazon SQS queue.
Answers
Suggested answer: C, D

A developer is creating a new application that will be accessed by users through an API created using Amazon API Gateway The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider Once authenticated, users will need access to other AWS services such as Amazon S3 and Amazon DynamoDB How can these requirements be met?

A.
Use an Amazon Cognito user pool with SAML as the resource server
A.
Use an Amazon Cognito user pool with SAML as the resource server
Answers
B.
Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers
B.
Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers
Answers
C.
Use the AWS IAM service to provide the sign-up and sign-in functionality.
C.
Use the AWS IAM service to provide the sign-up and sign-in functionality.
Answers
D.
Use Amazon CloudFront signed URLs to connect with the SAML identity provider
D.
Use Amazon CloudFront signed URLs to connect with the SAML identity provider
Answers
Suggested answer: B

A development team is creating a new application designed to run on AWS. While the test and production environments will run on Amazon EC2 instances, developers will each run their own environment on their laptops. Which of the following is the simplest and MOST secure way to access AWS services from the local development machines?

A.
Use an IAM role to assume a role and execute API calls using the role.
A.
Use an IAM role to assume a role and execute API calls using the role.
Answers
B.
Create an IAM user to be shared with the entire development team, provide the development team with the access key.
B.
Create an IAM user to be shared with the entire development team, provide the development team with the access key.
Answers
C.
Create an IAM user for each developer on the team: provide each developer with a unique access key
C.
Create an IAM user for each developer on the team: provide each developer with a unique access key
Answers
D.
Set up a federation through an Amazon Cognito user pool.
D.
Set up a federation through an Amazon Cognito user pool.
Answers
Suggested answer: A
Total 608 questions
Go to page: of 61