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

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

List of questions

Question 231

Report
Export
Collapse

A Development team would like to migrate their existing application code from a GitHub repository to AWS CodeCommit. What needs to be created before they can migrate a cloned repository to CodeCommit over HTTPS?

A GitHub secure authentication token
A GitHub secure authentication token
A public and private SSH key file
A public and private SSH key file
A set of Git credentials generated from IAM
A set of Git credentials generated from IAM
An Amazon EC2 IAM role with CodeCommit permissions
An Amazon EC2 IAM role with CodeCommit permissions
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-migrate-repositoryexisting.html

asked 16/09/2024
Florence Li
39 questions

Question 232

Report
Export
Collapse

A Developer must encrypt a 100-GB object using AWS KMS.

What is the BEST approach?

Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK)
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK)
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK) with imported key material
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK) with imported key material
Make a GenerateDataKey API call that returns a plaintext key and an encrypted copy of a data key. Use a plaintext key to encrypt the data
Make a GenerateDataKey API call that returns a plaintext key and an encrypted copy of a data key. Use a plaintext key to encrypt the data
Make a GenerateDataKeyWithoutPlaintext API call that returns an encrypted copy of a data key.Use an encrypted key to encrypt the data
Make a GenerateDataKeyWithoutPlaintext API call that returns an encrypted copy of a data key.Use an encrypted key to encrypt the data
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateDataKey.html

asked 16/09/2024
Feroz Khan
43 questions

Question 233

Report
Export
Collapse

A team of Developers must migrate an application running inside an AWS Elastic Beanstalk environment from a Classic Load Balancer to an Application Load Balancer. Which steps should be taken to accomplish the task using the AWS Management Console?

1. Update the application code in the existing deployment.
1. Update the application code in the existing deployment.
Select a new load balancer type before running the deployment.
Select a new load balancer type before running the deployment.
Deploy the new version of the application code to the environment.
Deploy the new version of the application code to the environment.
1. Create a new environment with the same configurations except for the load balancer type.
1. Create a new environment with the same configurations except for the load balancer type.
Deploy the same application version as used in the original environment.
Deploy the same application version as used in the original environment.
Run the swap-environment-cnames action.
Run the swap-environment-cnames action.
1. Clone the existing environment, changing the associated load balancer type.
1. Clone the existing environment, changing the associated load balancer type.
Deploy the same application version as used in the original environment.
Deploy the same application version as used in the original environment.
Run the swap-environment-cnames action.
Run the swap-environment-cnames action.
1. Edit the environment definitions in the existing deployment.
1. Edit the environment definitions in the existing deployment.
Change the associated load balancer type according to the requirements.
Change the associated load balancer type according to the requirements.
Rebuild the environment with the new load balancer type.
Rebuild the environment with the new load balancer type.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.elb.htmlBy default, Elastic Beanstalk creates an Application Load Balancer for your environment when you enable load balancing with the Elastic Beanstalk console or the EB CLI. It configures the load balance rto listen for HTTP traffic on port 80 and forward this traffic to instances on the same port. You can choose the type of load balancer that your environment uses only during environment creation.

Later, you can change settings to manage the behavior of your running environment's load balancer, but you can't change its type.

asked 16/09/2024
Robert Thompson
32 questions

Question 234

Report
Export
Collapse

A Development team wants to instrument their code to provide more detailed information to AWS XQuestions & Answers PDF P-99 Ray than simple outgoing and incoming requests. This will generate large amounts of data, so the Development team wants to implement indexing so they can filter the data.

What should the Development team do to achieve this?

Add annotations to the segment document and the code
Add annotations to the segment document and the code
Add metadata to the segment document and the code
Add metadata to the segment document and the code
Configure the necessary X-Ray environment variables
Configure the necessary X-Ray environment variables
Install required plugins for the appropriate AWS SDK
Install required plugins for the appropriate AWS SDK
Suggested answer: A

Explanation:

https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python-segment.html

https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-annotations

asked 16/09/2024
Jose Leston
41 questions

Question 235

Report
Export
Collapse

A Developer created a new AWS account and must create a scalable AWS Lambda function that meets the following requirements for concurrent execution:

Average execution time of 100 seconds

50 requests per second

Which step must be taken prior to deployment to prevent errors?

Implement dead-letter queues to capture invocation errors
Implement dead-letter queues to capture invocation errors
Add an event source from Amazon API Gateway to the Lambda function
Add an event source from Amazon API Gateway to the Lambda function
Implement error handling within the application code
Implement error handling within the application code
Contact AWS Support to increase the concurrent execution limits
Contact AWS Support to increase the concurrent execution limits
Suggested answer: D

Explanation:

https://aws.amazon.com/about-aws/whats-new/2017/05/aws-lambda-raises-default-concurrentexecution-limit/

asked 16/09/2024
Rekik Tesfaye
37 questions

Question 236

Report
Export
Collapse

A company is using continuous integration and continuous delivery systems. A Developer now needs to automate a software package deployment to both Amazon EC2 instances and virtual servers running on-premises. Which AWS service should be used to accomplish this?

AWS CodePipeline
AWS CodePipeline
AWS CodeBuild
AWS CodeBuild
AWS Elastic Beanstalk
AWS Elastic Beanstalk
AWS CodeDeploy
AWS CodeDeploy
Suggested answer: D
asked 16/09/2024
Maxim Shpakov
41 questions

Question 237

Report
Export
Collapse

A company needs a version control system for collaborative software development. Features of the system must include the following:

Support for batches of changes across multiple files

Parallel branching

Version tracking

Which AWS service will meet these requirements?

AWS CodePipeline
AWS CodePipeline
Amazon S3
Amazon S3
AWS Code Build
AWS Code Build
AWS CodeCommit
AWS CodeCommit
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html

asked 16/09/2024
Peter Lilley
49 questions

Question 238

Report
Export
Collapse

A company runs an e-commerce website that uses Amazon DynamoDB where pricing for items is dynamically updated in real time. At any given time, multiple updates may occur simultaneously for pricing information on a particular product. This is causing the original editor’s changes to be overwritten without a proper review process.

Which DynamoDB write option should be selected to prevent this overwriting?

Concurrent writes
Concurrent writes
Conditional writes
Conditional writes
Atomic writes
Atomic writes
Batch writes
Batch writes
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithItems.ConditionalUpdate

asked 16/09/2024
jitendra makwana
36 questions

Question 239

Report
Export
Collapse

An Amazon DynamoDB table uses a Global Secondary Index (GSI) to support read queries. The primary table is write-heavy, whereas the GSI is used for read operations. Looking at Amazon CloudWatch metrics, the Developer notices that write operations to the primary table are throttled frequently under heavy write activity. However, write capacity units to the primary table are available and not fully consumed. Why is the table being throttled?

The GSI write capacity units are underprovisioned
The GSI write capacity units are underprovisioned
There are not enough read capacity units on the primary table
There are not enough read capacity units on the primary table
Amazon DynamoDB Streams is not enabled on the table
Amazon DynamoDB Streams is not enabled on the table
A large write operation is being performed against another table
A large write operation is being performed against another table
Suggested answer: A

Explanation:

https://stackoverflow.com/questions/39582752/do-global-secondary-index-gsi-in-dynamodbimpact-tables-provision-capacity https://medium.com/@synchrophoto/amazon-dynamodb-provisioning-write-capacity-for-globalsecondary-indexes-gsis-eaa4d4dce1df

asked 16/09/2024
Mk Cheng
43 questions

Question 240

Report
Export
Collapse

A Developer is building a three-tier web application that should be able to handle a minimum of 5000 requests per minute. Requirements state that the web tier should be completely stateless while the application maintains session state for the users.

How can session data be externalized, keeping latency at the LOWEST possible value?

Create an Amazon RDS instance, then implement session handling at the application level to leverage a database inside the RDS database instance for session data storage
Create an Amazon RDS instance, then implement session handling at the application level to leverage a database inside the RDS database instance for session data storage
Implement a shared file system solution across the underlying Amazon EC2 instances, then implement session handling at the application level to leverage the shared file system for session data storage
Implement a shared file system solution across the underlying Amazon EC2 instances, then implement session handling at the application level to leverage the shared file system for session data storage
Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage
Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage
Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage
Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage
Suggested answer: A

Explanation:

https://aws.amazon.com/caching/session-management/

asked 16/09/2024
Jaime GONCALVES
45 questions
Total 608 questions
Go to page: of 61
Search

Related questions