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

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

List of questions

Question 91

Report
Export
Collapse

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?

Install the dependencies and external libraries at the beginning of the Lambda function.
Install the dependencies and external libraries at the beginning of the Lambda function.
Create a Lambda deployment package that includes the external libraries.
Create a Lambda deployment package that includes the external libraries.
Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.
Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.
Install the external libraries in Lambda to be available to all Lambda functions.
Install the external libraries in Lambda to be available to all Lambda functions.
Suggested answer: D
asked 16/09/2024
MARCIA SHEILA PELAEZ GONZALEZ
38 questions

Question 92

Report
Export
Collapse

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?

Immutable
Immutable
Rolling
Rolling
All at Once
All at Once
Rolling with additional batch
Rolling with additional batch
Suggested answer: D

Explanation:

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

asked 16/09/2024
Quintin van Rooyen
44 questions

Question 93

Report
Export
Collapse

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?

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

Explanation:

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

asked 16/09/2024
Shawn Sullivan
37 questions

Question 94

Report
Export
Collapse

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?

Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
Get the application to run IFCONFIG to get the public IP address.
Get the application to run IFCONFIG to get the public IP address.
Get the application to run IPCONFIG to get the public IP address.
Get the application to run IPCONFIG to get the public IP address.
Suggested answer: A
asked 16/09/2024
Reginald Curtis Jr
35 questions

Question 95

Report
Export
Collapse

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

Amazon DVA-C01 image Question 95 3853 09162024005626000000

Package only the modules the Lambda function requires
Package only the modules the Lambda function requires
Use Amazon DynamoDB instead of Amazon RDS
Use Amazon DynamoDB instead of Amazon RDS
Move the initialization of the variable Amazon RDS connection outside of the handler function
Move the initialization of the variable Amazon RDS connection outside of the handler function
Implement custom database connection pooling with the Lambda function
Implement custom database connection pooling with the Lambda function
Implement local caching of Amazon RDS data so Lambda can re-use the cache
Implement local caching of Amazon RDS data so Lambda can re-use the cache
Suggested answer: A, C
asked 16/09/2024
Tebello Mofokeng
29 questions

Question 96

Report
Export
Collapse

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?

Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon S3 Acceleration Transfer
Amazon S3 Acceleration Transfer
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Suggested answer: A
asked 16/09/2024
Bryan Smith
43 questions

Question 97

Report
Export
Collapse

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?

Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method
Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method
Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
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.
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.
The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.
The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.
Suggested answer: C
asked 16/09/2024
Edgar Zapico
39 questions

Question 98

Report
Export
Collapse

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?

The referenced Amazon S3 bucket is in another region.
The referenced Amazon S3 bucket is in another region.
The images must be stored in the same Amazon S3 bucket.
The images must be stored in the same Amazon S3 bucket.
Port 80 must be opened on the security group in which the Amazon S3 bucket is located.
Port 80 must be opened on the security group in which the Amazon S3 bucket is located.
Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket.
Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket.
Suggested answer: D
asked 16/09/2024
Erik-Jan Brul
37 questions

Question 99

Report
Export
Collapse

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?

Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip
Prefix folder names with user id; for example, s3://BUCKET/2013-FOLDERNAME/FILENAME.zip
Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00- 00- FILENAME.zip
Prefix file names with timestamps; for example, s3://BUCKET/FOLDERNAME/2013-26-05-15-00- 00- FILENAME.zip
Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6- FILENAME.zip
Prefix file names with random hex hashes; for example, s3://BUCKET/FOLDERNAME/23a6- FILENAME.zip
Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/ FILENAME.zip
Prefix folder names with random hex hashes; for example, s3://BUCKET/23a6-FOLDERNAME/ FILENAME.zip
Suggested answer: D
asked 16/09/2024
David Sichimwi
38 questions

Question 100

Report
Export
Collapse

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

Before Install -> Application Stop -> Application Start -> After Install
Before Install -> Application Stop -> Application Start -> After Install
Application Stop -> Before Install -> After Install -> Application Start
Application Stop -> Before Install -> After Install -> Application Start
Before Install -> Application Stop -> Validate Service -> Application Start
Before Install -> Application Stop -> Validate Service -> Application Start
Application Stop -> Before Install -> Validate Service -> Application Start
Application Stop -> Before Install -> Validate Service -> Application Start
Suggested answer: B
asked 16/09/2024
Nishan Perera
43 questions
Total 608 questions
Go to page: of 61
Search

Related questions