ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A Developer is creating a Lambda function and will be using external libraries that are not included in the standard Lambda libraries. What action would minimize the Lambda compute time consumed?

A.
Install the dependencies and external libraries at the beginning of the Lambda function.
A.
Install the dependencies and external libraries at the beginning of the Lambda function.
Answers
B.
Create a Lambda deployment package that includes the external libraries.
B.
Create a Lambda deployment package that includes the external libraries.
Answers
C.
Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.
C.
Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.
Answers
D.
Install the external libraries in Lambda to be available to all Lambda functions.
D.
Install the external libraries in Lambda to be available to all Lambda functions.
Answers
Suggested answer: D

A Developer is writing a Linux-based application to run on AWS Elastic Beanstalk. Application requirements state that the application must maintain full capacity during updates while minimizing cost. Which type of Elastic Beanstalk deployment policy should the Developer specify for the environment?

A.
Immutable
A.
Immutable
Answers
B.
Rolling
B.
Rolling
Answers
C.
All at Once
C.
All at Once
Answers
D.
Rolling with additional batch
D.
Rolling with additional batch
Answers
Suggested answer: D

Explanation:

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

An application under development is required to store hundreds of video files. The data must be encrypted within the application prior to storage, with a unique key for each video file. How should the Developer code the application?

A.
Use the KMS Encrypt API to encrypt the data. Store the encrypted data key and data.
A.
Use the KMS Encrypt API to encrypt the data. Store the encrypted data key and data.
Answers
B.
Use a cryptography library to generate an encryption key for the application. Use the encryption key to encrypt the data. Store the encrypted data.
B.
Use a cryptography library to generate an encryption key for the application. Use the encryption key to encrypt the data. Store the encrypted data.
Answers
C.
Use the KMS GenerateDataKey API to get a data key. Encrypt the data with the data key. Store the encrypted data key and data.
C.
Use the KMS GenerateDataKey API to get a data key. Encrypt the data with the data key. Store the encrypted data key and data.
Answers
D.
Upload the data to an S3 bucket using server side-encryption with an AWS KMS key.
D.
Upload the data to an S3 bucket using server side-encryption with an AWS KMS key.
Answers
Suggested answer: C

Explanation:

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

A Developer is creating an application that needs to locate the public IPv4 address of the Amazon EC2 instance on which it runs. How can the application locate this information?

A.
Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
A.
Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
Answers
B.
Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
B.
Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
Answers
C.
Get the application to run IFCONFIG to get the public IP address.
C.
Get the application to run IFCONFIG to get the public IP address.
Answers
D.
Get the application to run IPCONFIG to get the public IP address.
D.
Get the application to run IPCONFIG to get the public IP address.
Answers
Suggested answer: A

The Lambda function below is being called through an API using Amazon API Gateway. The average execution time for the Lambda function is about 1 second. The pseudocode for the Lambda function is as shown in the exhibit. What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Select two.)

A.
Package only the modules the Lambda function requires
A.
Package only the modules the Lambda function requires
Answers
B.
Use Amazon DynamoDB instead of Amazon RDS
B.
Use Amazon DynamoDB instead of Amazon RDS
Answers
C.
Move the initialization of the variable Amazon RDS connection outside of the handler function
C.
Move the initialization of the variable Amazon RDS connection outside of the handler function
Answers
D.
Implement custom database connection pooling with the Lambda function
D.
Implement custom database connection pooling with the Lambda function
Answers
E.
Implement local caching of Amazon RDS data so Lambda can re-use the cache
E.
Implement local caching of Amazon RDS data so Lambda can re-use the cache
Answers
Suggested answer: A, C

An application will ingest data at a very high throughput from many sources and must store the data in an Amazon S3 bucket. Which service would BEST accomplish this task?

A.
Amazon Kinesis Firehose
A.
Amazon Kinesis Firehose
Answers
B.
Amazon S3 Acceleration Transfer
B.
Amazon S3 Acceleration Transfer
Answers
C.
Amazon SQS
C.
Amazon SQS
Answers
D.
Amazon SNS
D.
Amazon SNS
Answers
Suggested answer: A

A Developer has setup an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. A Lambda function has been configured to process these records. In which order will these records be processed?

A.
Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method
A.
Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method
Answers
B.
Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
B.
Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
Answers
C.
Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards.
C.
Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards.
Answers
D.
The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.
D.
The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.
Answers
Suggested answer: C

A static website is hosted in an Amazon S3 bucket. Several HTML pages on the site use JavaScript to download images from another Amazon S3 bucket. These images are not displayed when users browse the site. What is the possible cause for the issue?

A.
The referenced Amazon S3 bucket is in another region.
A.
The referenced Amazon S3 bucket is in another region.
Answers
B.
The images must be stored in the same Amazon S3 bucket.
B.
The images must be stored in the same Amazon S3 bucket.
Answers
C.
Port 80 must be opened on the security group in which the Amazon S3 bucket is located.
C.
Port 80 must be opened on the security group in which the Amazon S3 bucket is located.
Answers
D.
Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket.
D.
Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket.
Answers
Suggested answer: D

Amazon S3 has the following structure: S3://BUCKET/FOLDERNAME/FILENAME.zip Which S3 best practice would optimize performance with thousands of PUT request each second to a single bucket?

A.
Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip
A.
Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip
Answers
B.
Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00- 00- FILENAME.zip
B.
Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00- 00- FILENAME.zip
Answers
C.
Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6- FILENAME.zip
C.
Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6- FILENAME.zip
Answers
D.
Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/ FILENAME.zip
D.
Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/ FILENAME.zip
Answers
Suggested answer: D

For a deployment using AWS CodeDeploy, what is the run order of the hooks for in-place deployments?

A.
Before Install -> Application Stop -> Application Start -> After Install
A.
Before Install -> Application Stop -> Application Start -> After Install
Answers
B.
Application Stop -> Before Install -> After Install -> Application Start
B.
Application Stop -> Before Install -> After Install -> Application Start
Answers
C.
Before Install -> Application Stop -> Validate Service -> Application Start
C.
Before Install -> Application Stop -> Validate Service -> Application Start
Answers
D.
Application Stop -> Before Install -> Validate Service -> Application Start
D.
Application Stop -> Before Install -> Validate Service -> Application Start
Answers
Suggested answer: B
Total 608 questions
Go to page: of 61