ExamGecko
Home / Amazon / DVA-C01 / List of questions
Ask Question

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

List of questions

Question 331

Report
Export
Collapse

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*?

Use Amazon SQS to invoke the Lambda functions
Use Amazon SQS to invoke the Lambda functions
Use an AWS Step Functions activity to run the Lambda functions
Use an AWS Step Functions activity to run the Lambda functions
Use Amazon SNS to trigger the Lambda functions
Use Amazon SNS to trigger the Lambda functions
Use an AWS Step Functions state machine to orchestrate the Lambda functions.
Use an AWS Step Functions state machine to orchestrate the Lambda functions.
Suggested answer: A
asked 16/09/2024
Himanshu Sachdeva
36 questions

Question 332

Report
Export
Collapse

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?

Update the database connection parameters in the application to point to the new RDS instance
Update the database connection parameters in the application to point to the new RDS instance
Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
Add a script to the EC2 instance that implements an AWS SDK for requesting database credentials.
Create a new EC2 instance with an IAM role that allows access to the new RDS database
Create a new EC2 instance with an IAM role that allows access to the new RDS database
Create an AWS Lambda function that will route traffic from the EC2 instance to the RDS database.
Create an AWS Lambda function that will route traffic from the EC2 instance to the RDS database.
Suggested answer: A
asked 16/09/2024
Felomino Bacquiano II
45 questions

Question 333

Report
Export
Collapse

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 )

Amazon DynamoDB with operations made with the ConsistentRead parameter set to true
Amazon DynamoDB with operations made with the ConsistentRead parameter set to true
Amazon ElastiCache for Memcached with operations made within a transaction block
Amazon ElastiCache for Memcached with operations made within a transaction block
Amazon Aurora MySQL with operations made within a transaction block
Amazon Aurora MySQL with operations made within a transaction block
Amazon DynamoDB with reads and writes made using Transact" operations
Amazon DynamoDB with reads and writes made using Transact" operations
Amazon Redshift with operations made within a transaction block
Amazon Redshift with operations made within a transaction block
Suggested answer: C, D
asked 16/09/2024
Tanya Resto
40 questions

Question 334

Report
Export
Collapse

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?

Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users
Store the user credentials In Amazon DynamoDB Build an AWS Lambda function to validate the credentials and authorize users
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.
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.
Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the users.
Use Amazon Cognito to configure a user pool, and use the Cognito API to authenticate and authorize the users.
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
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
Suggested answer: C
asked 16/09/2024
Rudy Raijmakers
40 questions

Question 335

Report
Export
Collapse

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?

Rolling update
Rolling update
Immutable update
Immutable update
User data
User data
ebextensions
ebextensions
Suggested answer: D
asked 16/09/2024
Anthony Bradley
43 questions

Question 336

Report
Export
Collapse

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?

increase the Lambda function execution timeout
increase the Lambda function execution timeout
Use unreserved account concurrency.
Use unreserved account concurrency.
Increase the memory allocation of the Lambda function
Increase the memory allocation of the Lambda function
Set the reserved concurrency of the Lambda function to a higher number
Set the reserved concurrency of the Lambda function to a higher number
Suggested answer: C
asked 16/09/2024
Zahidul Haque
47 questions

Question 337

Report
Export
Collapse

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?

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
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
Store the database credentials in AWS Secrets Manager Let Secrets Manager handle the rotation of the credentials, as required
Store the database credentials in AWS Secrets Manager Let Secrets Manager handle the rotation of the credentials, as required
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
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
Create a policy with rds-db connect access to the database and attach it to the role assigned to the Lambda function
Create a policy with rds-db connect access to the database and attach it to the role assigned to the Lambda function
Suggested answer: B
asked 16/09/2024
Dave Breath
49 questions

Question 338

Report
Export
Collapse

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.)

Increase the backend T2 EC2 instance sees to xl to handle the largest possible load throughout the year
Increase the backend T2 EC2 instance sees to xl to handle the largest possible load throughout the year
implement an Amazon SQS queue to decouple the front-end and backend servers
implement an Amazon SQS queue to decouple the front-end and backend servers
Use an Amazon SNS queue to decouple the front-end and backend servers.
Use an Amazon SNS queue to decouple the front-end and backend servers.
Migrate the backend servers to on-premises and pull from an Amazon SNS queue
Migrate the backend servers to on-premises and pull from an Amazon SNS queue
Modify the backend servers to pull from an Amazon SQS queue.
Modify the backend servers to pull from an Amazon SQS queue.
Suggested answer: C, D
asked 16/09/2024
Jag Patel
29 questions

Question 339

Report
Export
Collapse

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?

Use an Amazon Cognito user pool with SAML as the resource server
Use an Amazon Cognito user pool with SAML as the resource server
Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers
Use Amazon Cognito Identity pools with a SAML identity provider as one of the authentication providers
Use the AWS IAM service to provide the sign-up and sign-in functionality.
Use the AWS IAM service to provide the sign-up and sign-in functionality.
Use Amazon CloudFront signed URLs to connect with the SAML identity provider
Use Amazon CloudFront signed URLs to connect with the SAML identity provider
Suggested answer: B
asked 16/09/2024
Martine Cornax
34 questions

Question 340

Report
Export
Collapse

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?

Use an IAM role to assume a role and execute API calls using the role.
Use an IAM role to assume a role and execute API calls using the role.
Create an IAM user to be shared with the entire development team, provide the development team with the access key.
Create an IAM user to be shared with the entire development team, provide the development team with the access key.
Create an IAM user for each developer on the team: provide each developer with a unique access key
Create an IAM user for each developer on the team: provide each developer with a unique access key
Set up a federation through an Amazon Cognito user pool.
Set up a federation through an Amazon Cognito user pool.
Suggested answer: A
asked 16/09/2024
samir Heniche
39 questions
Total 608 questions
Go to page: of 61
Search

Related questions