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

Amazon CLF-C01 Practice Test - Questions Answers, Page 60

List of questions

Question 591

Report
Export
Collapse

A developer created a Lambda function for a web application backend When testing the Lambda function from the AWS Lambda console, the developer can see that the function is being run, but there is no log data being generated in Amazon CloudWatch Logs, even after several minutes. What could cause this situation?

The Lambda function does not have any explicit log statements for the log data to send it to CloudWatch Logs
The Lambda function does not have any explicit log statements for the log data to send it to CloudWatch Logs
The Lambda function is missing CloudWatch Logs as a source trigger to send log data
The Lambda function is missing CloudWatch Logs as a source trigger to send log data
The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs
The execution role for the Lambda function is missing permissions to write log data to the CloudWatch Logs
The Lambda function is missing a target CloudWatch Log group
The Lambda function is missing a target CloudWatch Log group
Suggested answer: C
asked 16/09/2024
Dirk Lamberts
40 questions

Question 592

Report
Export
Collapse

A developer is making changes to a custom application that uses AWS Elastic Beanstalk.

Which solutions will update the Elastic Beanstalk environment with the new application version after the developer completes the changes? (Select TWO/)

Package the application code into a zip file. Use the AWS Management Console to upload the .zip file and deploy the packaged application.
Package the application code into a zip file. Use the AWS Management Console to upload the .zip file and deploy the packaged application.
Package the application code into a tar file Use the AWS Management Console to create a new application version from the tar file. Update the environment by using the AWS CLI.
Package the application code into a tar file Use the AWS Management Console to create a new application version from the tar file. Update the environment by using the AWS CLI.
Package the application code into a tar file Use the AWS Management Console to upload the tar file and deploy the packaged application
Package the application code into a tar file Use the AWS Management Console to upload the tar file and deploy the packaged application
Package the application code into a zip file Use the AWS CLI to create a new application version from the zip file and to update the environment
Package the application code into a zip file Use the AWS CLI to create a new application version from the zip file and to update the environment
Package the application code into a zip file. Use the AWS Management Console to create a new application version from the .zip file. Rebuild the environment by using the AWS CLI.
Package the application code into a zip file. Use the AWS Management Console to create a new application version from the .zip file. Rebuild the environment by using the AWS CLI.
Suggested answer: A, D
asked 16/09/2024
PRIYANK SAXENA
45 questions

Question 593

Report
Export
Collapse

A developer manages an application that interacts with Amazon RDS. Alter observing slow performance with read queries, the developer Implements Amazon ElastiCache to update the cache immediately following the primary database update.

What will be the result of this approach to caching?

Caching will increase the load on the database instance because the cache is updated for every database update.
Caching will increase the load on the database instance because the cache is updated for every database update.
Caching will slow performance of the read queries because the cache is updated when the cache cannot find the requested data
Caching will slow performance of the read queries because the cache is updated when the cache cannot find the requested data
The cache will become large and expensive because the infrequently requested data is also written to the cache
The cache will become large and expensive because the infrequently requested data is also written to the cache
Overhead will be added to the initial response time because the cache is updated only after a cache miss
Overhead will be added to the initial response time because the cache is updated only after a cache miss
Suggested answer: C
asked 16/09/2024
Louis Lee
36 questions

Question 594

Report
Export
Collapse

A developer is testing a Docker-based application that uses the AWS SDK to interact with Amazon DynamoDB. In the local development environment the application has used 1AM access keys. The application is now ready for deployment onto an ECS cluster How should the application authenticate with AWS services in production?

Configure an ECS task 1AM role for the application to use
Configure an ECS task 1AM role for the application to use
Refactor the application to call AWS STS AssumeRole based on an instance role
Refactor the application to call AWS STS AssumeRole based on an instance role
Configure AWS access key/secret access key environment variables with new credentials
Configure AWS access key/secret access key environment variables with new credentials
Configure the credentials file with a new access key/secret access key
Configure the credentials file with a new access key/secret access key
Suggested answer: A
asked 16/09/2024
alvaro Vasconcelos
35 questions

Question 595

Report
Export
Collapse

A company has dn application that analyzes photographs. A developer is preparing the application for deployment to Amazon EC2 instances. The application's image analysis functions require a mix of GPU instances and CPU instances that run on Amazon Linux. The developer needs to add code to the application so that the functions can determine whether they are running on a GPU instance What should the functions do to obtain this information?

Call the Descnbeinstances API operation and filter on the current instance ID Examine the EiasticGpuAssociations property
Call the Descnbeinstances API operation and filter on the current instance ID Examine the EiasticGpuAssociations property
Evaluate the GPU_AVA1LABLE environment variable
Evaluate the GPU_AVA1LABLE environment variable
Call the DescribeElasticGpus API operation
Call the DescribeElasticGpus API operation
Retrieve the instance type from the instance metadata
Retrieve the instance type from the instance metadata
Suggested answer: A
asked 16/09/2024
Lea Kohl
46 questions

Question 596

Report
Export
Collapse

A developer is creating a serverless web application and maintains different branches of code. The developer wants to avoid updating the Amazon API Gateway target endpoint each time a new code push is performed What solution would allow the developer to perform a code push efficiently, without the need to update the API Gateway'^

Associate different AWS Lambda functions to an API Gateway target endpoint
Associate different AWS Lambda functions to an API Gateway target endpoint
Create different stages in API Gateway then associate API Gateway with AWSLambda.
Create different stages in API Gateway then associate API Gateway with AWSLambda.
Create aliases and versions in AWS Lambda
Create aliases and versions in AWS Lambda
Tag the AWS Lambda functions with different names
Tag the AWS Lambda functions with different names
Suggested answer: C
asked 16/09/2024
Prinesh Chain
38 questions

Question 597

Report
Export
Collapse

An application running on multiple Amazon EC2 instances pulls messages from a standard Amazon SQS queue. A requirement for the application is that all messages must be encrypted at rest Developers are instructed to use methods that allow tor centralized key management and minimize possible support requirements whenever possible. Which of the following solutions supports these requirements?

Encrypt individual messages by using client-side encryption with customer managed keys, then write to the SQS queue
Encrypt individual messages by using client-side encryption with customer managed keys, then write to the SQS queue
Encrypt individual messages by using SQS Extended Client and the Amazon S3 encryption client
Encrypt individual messages by using SQS Extended Client and the Amazon S3 encryption client
Create an SQS queue and encrypt the queue by using server-side encryption with AWS KMS
Create an SQS queue and encrypt the queue by using server-side encryption with AWS KMS
Create an SQS queue, and encrypt the queue by using client-record encryption
Create an SQS queue, and encrypt the queue by using client-record encryption
Suggested answer: C
asked 16/09/2024
Linda Müller
38 questions

Question 598

Report
Export
Collapse

An ecommerce company manages its application's infrastructure by using AWS Elastic Beanstalk. A developer wants to deploy the new version of the application with the least possible application downtime. The developer also must minimize the application's rollback time if there are issues with the deployment Which approach will meet these requirements?

Use a rolling deployment to deploy the new version
Use a rolling deployment to deploy the new version
Use a rolling deployment with additional batches to deploy the new version
Use a rolling deployment with additional batches to deploy the new version
Use an all-at-once deployment to deploy the new version
Use an all-at-once deployment to deploy the new version
Suggested answer: A, D

Explanation:

Explanation:

asked 16/09/2024
wendy brouwer
38 questions

Question 599

Report
Export
Collapse

A developer is adding a feature to a client-side application so that users can upload videos to an Amazon S3 bucket. What is the MOST secure way to give the application the ability to write files to the S3 bucket?

Update the S3 bucket policy to allow public write access. Allow any user to upload videos by removing the need to handle user authentication within the client-side application
Update the S3 bucket policy to allow public write access. Allow any user to upload videos by removing the need to handle user authentication within the client-side application
Create a new IAM policy and a corresponding 1AM user with permissions to write to the S3 bucket Store the key and the secret for the user in the application code Use the key to authenticate the video uploads
Create a new IAM policy and a corresponding 1AM user with permissions to write to the S3 bucket Store the key and the secret for the user in the application code Use the key to authenticate the video uploads
Configure the API layer of the application to have a new endpoint that creates signed URLs that allow an object to be put into the S3 bucket Generate a presigned URL through this API call in the client application. Upload the video byusing the signed URL
Configure the API layer of the application to have a new endpoint that creates signed URLs that allow an object to be put into the S3 bucket Generate a presigned URL through this API call in the client application. Upload the video byusing the signed URL
Generate a new 1AM key and a corresponding secret by using the AWS account root user credentials Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads
Generate a new 1AM key and a corresponding secret by using the AWS account root user credentials Store the key and the secret for the user in the application code. Use the key to authenticate the video uploads
Suggested answer: B
asked 16/09/2024
Ian Lloyd
36 questions

Question 600

Report
Export
Collapse

A development team is building a new application that will run on Amazon EC2 and use Amazon DynamoDB as a storage layer. The developers all have assigned IAM user accounts in the same IAM group The developers currently can launch EC2 instances, and they need to be able to launch EC2 instances with an instance role allowing access to Amazon DynamoDB Which AWS 1AM changes are needed when creating an instance role to provide this functionality?

Create an iam permission policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allowsdevelopers to use the lamGetRole and lamPassRole permissions for the role
Create an iam permission policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM that allowsdevelopers to use the lamGetRole and lamPassRole permissions for the role
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role. Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam PassRole permission for the role
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role. Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam PassRole permission for the role
Create an IAM permission policy attached to the role that allows access to Amazon EC2. Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam PassRole permission for the role
Create an IAM permission policy attached to the role that allows access to Amazon EC2. Add a trust policy to the role that allows DynamoDB to assume the role Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam PassRole permission for the role
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam GetRole permission for the role
Create an IAM permissions policy attached to the role that allows access to DynamoDB Add a trust policy to the role that allows Amazon EC2 to assume the role Attach a permissions policy to the development group in AWS IAM thatallows developers to use the iam GetRole permission for the role
Suggested answer: B
asked 16/09/2024
Ivan Rodrigo Velasco Capote
34 questions
Total 944 questions
Go to page: of 95
Search