ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











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.
A GitHub secure authentication token
A.
A GitHub secure authentication token
Answers
B.
A public and private SSH key file
B.
A public and private SSH key file
Answers
C.
A set of Git credentials generated from IAM
C.
A set of Git credentials generated from IAM
Answers
D.
An Amazon EC2 IAM role with CodeCommit permissions
D.
An Amazon EC2 IAM role with CodeCommit permissions
Answers
Suggested answer: C

Explanation:

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

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

What is the BEST approach?

A.
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK)
A.
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK)
Answers
B.
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK) with imported key material
B.
Make an Encrypt API call to encrypt the plaintext data as ciphertext using a customer master key (CMK) with imported key material
Answers
C.
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
C.
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
Answers
D.
Make a GenerateDataKeyWithoutPlaintext API call that returns an encrypted copy of a data key.Use an encrypted key to encrypt the data
D.
Make a GenerateDataKeyWithoutPlaintext API call that returns an encrypted copy of a data key.Use an encrypted key to encrypt the data
Answers
Suggested answer: D

Explanation:

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

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?

A.
1. Update the application code in the existing deployment.
A.
1. Update the application code in the existing deployment.
Answers
B.
Select a new load balancer type before running the deployment.
B.
Select a new load balancer type before running the deployment.
Answers
C.
Deploy the new version of the application code to the environment.
C.
Deploy the new version of the application code to the environment.
Answers
D.
1. Create a new environment with the same configurations except for the load balancer type.
D.
1. Create a new environment with the same configurations except for the load balancer type.
Answers
E.
Deploy the same application version as used in the original environment.
E.
Deploy the same application version as used in the original environment.
Answers
F.
Run the swap-environment-cnames action.
F.
Run the swap-environment-cnames action.
Answers
G.
1. Clone the existing environment, changing the associated load balancer type.
G.
1. Clone the existing environment, changing the associated load balancer type.
Answers
H.
Deploy the same application version as used in the original environment.
H.
Deploy the same application version as used in the original environment.
Answers
I.
Run the swap-environment-cnames action.
I.
Run the swap-environment-cnames action.
Answers
J.
1. Edit the environment definitions in the existing deployment.
J.
1. Edit the environment definitions in the existing deployment.
Answers
K.
Change the associated load balancer type according to the requirements.
K.
Change the associated load balancer type according to the requirements.
Answers
L.
Rebuild the environment with the new load balancer type.
L.
Rebuild the environment with the new load balancer type.
Answers
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.

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?

A.
Add annotations to the segment document and the code
A.
Add annotations to the segment document and the code
Answers
B.
Add metadata to the segment document and the code
B.
Add metadata to the segment document and the code
Answers
C.
Configure the necessary X-Ray environment variables
C.
Configure the necessary X-Ray environment variables
Answers
D.
Install required plugins for the appropriate AWS SDK
D.
Install required plugins for the appropriate AWS SDK
Answers
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

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?

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

Explanation:

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

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?

A.
AWS CodePipeline
A.
AWS CodePipeline
Answers
B.
AWS CodeBuild
B.
AWS CodeBuild
Answers
C.
AWS Elastic Beanstalk
C.
AWS Elastic Beanstalk
Answers
D.
AWS CodeDeploy
D.
AWS CodeDeploy
Answers
Suggested answer: D

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?

A.
AWS CodePipeline
A.
AWS CodePipeline
Answers
B.
Amazon S3
B.
Amazon S3
Answers
C.
AWS Code Build
C.
AWS Code Build
Answers
D.
AWS CodeCommit
D.
AWS CodeCommit
Answers
Suggested answer: D

Explanation:

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

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?

A.
Concurrent writes
A.
Concurrent writes
Answers
B.
Conditional writes
B.
Conditional writes
Answers
C.
Atomic writes
C.
Atomic writes
Answers
D.
Batch writes
D.
Batch writes
Answers
Suggested answer: B

Explanation:

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

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?

A.
The GSI write capacity units are underprovisioned
A.
The GSI write capacity units are underprovisioned
Answers
B.
There are not enough read capacity units on the primary table
B.
There are not enough read capacity units on the primary table
Answers
C.
Amazon DynamoDB Streams is not enabled on the table
C.
Amazon DynamoDB Streams is not enabled on the table
Answers
D.
A large write operation is being performed against another table
D.
A large write operation is being performed against another table
Answers
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

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?

A.
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
A.
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
Answers
B.
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
B.
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
Answers
C.
Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage
C.
Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage
Answers
D.
Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage
D.
Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage
Answers
Suggested answer: A

Explanation:

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

Total 608 questions
Go to page: of 61