ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











Company C has recently launched an online commerce site for bicycles on AWS. They have a "Product" DynamoDB table that stores details for each bicycle, such as, manufacturer, color, price, quantity and size to display in the online store. Due to customer demand, they want to include an image for each bicycle along with the existing details. Which approach below provides the least impact to provisioned throughput on the "Product" table?

A.
Serialize the image and store it in multiple DynamoDB tables
A.
Serialize the image and store it in multiple DynamoDB tables
Answers
B.
Create an "Images" DynamoDB table to store the Image with a foreign key constraint to the "Product” table
B.
Create an "Images" DynamoDB table to store the Image with a foreign key constraint to the "Product” table
Answers
C.
Add an image data type to the "Product" table to store the images in binary format
C.
Add an image data type to the "Product" table to store the images in binary format
Answers
D.
Store the images in Amazon S3 and add an S3 URL pointer to the "Product" table item for each image
D.
Store the images in Amazon S3 and add an S3 URL pointer to the "Product" table item for each image
Answers
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-use-s3-too.html#bpuse-s3-too-large-valuesFor example, consider the ProductCatalog table in the Creating Tables and Loading Data for CodeExamples in DynamoDB section. Items in this table store information about item price, description,book authors, and dimensions for other products. If you wanted to store an image of each produc tthat was too large to fit in an item, you could store the images in Amazon S3 instead of in DynamoDB.

Which DynamoDB limits can be raised by contacting AWS support? Choose 2 answers

A.
The number of hash keys per account
A.
The number of hash keys per account
Answers
B.
The maximum storage used per account
B.
The maximum storage used per account
Answers
C.
The number of tables per account
C.
The number of tables per account
Answers
D.
The number of local secondary indexes per account
D.
The number of local secondary indexes per account
Answers
E.
The number of provisioned throughput units per account
E.
The number of provisioned throughput units per account
Answers
Suggested answer: C, E

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

When a Simple Queue Service message triggers a task that takes 5 minutes to complete, which process below will result in successful processing of the message and remove it from the queue while minimizing the chances of duplicate processing?

A.
Retrieve the message with an increased visibility timeout, process the message, delete the message from the queue
A.
Retrieve the message with an increased visibility timeout, process the message, delete the message from the queue
Answers
B.
Retrieve the message with an increased visibility timeout, delete the message from the queue, process the message
B.
Retrieve the message with an increased visibility timeout, delete the message from the queue, process the message
Answers
C.
Retrieve the message with increased DelaySeconds, process the message, delete the message from the queue
C.
Retrieve the message with increased DelaySeconds, process the message, delete the message from the queue
Answers
D.
Retrieve the message with increased DelaySeconds, delete the message from the queue, process the message
D.
Retrieve the message with increased DelaySeconds, delete the message from the queue, process the message
Answers
Suggested answer: A

Explanation:

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibilitytimeout.html

Company A has an S3 bucket containing premier content that they intend to make available to only paid subscribers of their website. The S3 bucket currently has default permissions of all objects being private to prevent inadvertent exposure of the premier content to non-paying website visitors.

How can Company A provide only paid subscribers the ability to download a premier content file in the S3 bucket?

A.
Apply a bucket policy that grants anonymous users to download the content from the S3 bucket
A.
Apply a bucket policy that grants anonymous users to download the content from the S3 bucket
Answers
B.
Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download
B.
Generate a pre-signed object URL for the premier content file when a paid subscriber requests a download
Answers
C.
Add a bucket policy that requires Multi-Factor Authentication for requests to access the S3 bucket objects
C.
Add a bucket policy that requires Multi-Factor Authentication for requests to access the S3 bucket objects
Answers
D.
Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors
D.
Enable server-side encryption on the S3 bucket for data protection against the non-paying website visitors
Answers
Suggested answer: B

Which of the following is an example of a good DynamoDB hash key schema for provisioned throughput efficiency?

A.
User ID, where the application has many different users.
A.
User ID, where the application has many different users.
Answers
B.
Status Code where most status codes are the same
B.
Status Code where most status codes are the same
Answers
C.
Device ID, where one is by far more popular than all the others.
C.
Device ID, where one is by far more popular than all the others.
Answers
D.
Game Type, where there are three possible game types
D.
Game Type, where there are three possible game types
Answers
Suggested answer: A

An application stores payroll information nightly in DynamoDB for a large number of employees across hundreds of offices. Item attributes consist of individual name, office identifier, and cumulative daily hours. Managers run reports for ranges of names working in their office. One query is. "Return all Items in this office for names starting with A through E". Which table configuration will result in the lowest impact on provisioned throughput for this query?

A.
Configure the table to have a hash index on the name attribute, and a range index on the office identifier
A.
Configure the table to have a hash index on the name attribute, and a range index on the office identifier
Answers
B.
Configure the table to have a range index on the name attribute, and a hash index on the office identifier
B.
Configure the table to have a range index on the name attribute, and a hash index on the office identifier
Answers
C.
Configure a hash index on the name attribute and no range index
C.
Configure a hash index on the name attribute and no range index
Answers
D.
Configure a hash index on the office Identifier attribute and no range index
D.
Configure a hash index on the office Identifier attribute and no range index
Answers
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.htmlPartition key and sort key – Referred to as a composite primary key, this type of key is composed oftwo attributes. The first attribute is the partition key, and the second attribute is the sort key.

DynamoDB uses the partition key value as input to an internal hash function. The output from the hash function determines the partition (physical storage internal to DynamoDB) in which the item will be stored. All items with the same partition key value are stored together, in sorted order by sort key value.

What is one key difference between an Amazon EBS-backed and an instance-store backed instance?

A.
Virtual Private Cloud requires EBS backed instances
A.
Virtual Private Cloud requires EBS backed instances
Answers
B.
Amazon EBS-backed instances can be stopped and restarted
B.
Amazon EBS-backed instances can be stopped and restarted
Answers
C.
Auto scaling requires using Amazon EBS-backed instances.
C.
Auto scaling requires using Amazon EBS-backed instances.
Answers
D.
Instance-store backed instances can be stopped and restarted.
D.
Instance-store backed instances can be stopped and restarted.
Answers
Suggested answer: B

Explanation:

https://aws.amazon.com/premiumsupport/knowledge-center/instance-store-vs-ebs/

How can you secure data at rest on an EBS volume?

A.
Attach the volume to an instance using EC2's SSL interface.
A.
Attach the volume to an instance using EC2's SSL interface.
Answers
B.
Write the data randomly instead of sequentially.
B.
Write the data randomly instead of sequentially.
Answers
C.
Use an encrypted file system on top of the BBS volume.
C.
Use an encrypted file system on top of the BBS volume.
Answers
D.
Encrypt the volume using the S3 server-side encryption service.
D.
Encrypt the volume using the S3 server-side encryption service.
Answers
E.
Create an IAM policy that restricts read and write access to the volume.
E.
Create an IAM policy that restricts read and write access to the volume.
Answers
Suggested answer: C

Which of the following is chosen as the default region when making an API call with an AWS SDK?

A.
ap-northeast-1
A.
ap-northeast-1
Answers
B.
us-west-2
B.
us-west-2
Answers
C.
us-east-1
C.
us-east-1
Answers
D.
eu-west-1
D.
eu-west-1
Answers
E.
us-central-1
E.
us-central-1
Answers
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html. Thissection applies only when using a client builder to access AWS services. AWS clients created by usingthe client constructor will not automatically determine region from the environment and will,instead, use the default SDK region (USEast1).

Which of the following statements about SWF are true? Choose 3 answers

A.
SWF tasks are assigned once and never duplicated
A.
SWF tasks are assigned once and never duplicated
Answers
B.
SWF requires an S3 bucket for workflow storage
B.
SWF requires an S3 bucket for workflow storage
Answers
C.
SWF workflow executions can last up to a year
C.
SWF workflow executions can last up to a year
Answers
D.
SWF triggers SNS notifications on task assignment
D.
SWF triggers SNS notifications on task assignment
Answers
E.
SWF uses deciders and workers to complete tasks
E.
SWF uses deciders and workers to complete tasks
Answers
F.
SWF requires at least 1 EC2 instance per domain
F.
SWF requires at least 1 EC2 instance per domain
Answers
Suggested answer: A, C, E
Total 608 questions
Go to page: of 61