ExamGecko
Home Home / Amazon / DVA-C01

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

Question list
Search
Search

List of questions

Search

Related questions











A developer wants to build an application that will allow new users to register and create new user accounts. The application must also allow users with social media accounts to log in using their social media credentials. Which AWS service or feature can be used to meet these requirements?

A.
AWS IAM
A.
AWS IAM
Answers
B.
Amazon Cognito identity pools
B.
Amazon Cognito identity pools
Answers
C.
Amazon Cognito user pools
C.
Amazon Cognito user pools
Answers
D.
AWS Directory Service
D.
AWS Directory Service
Answers
Suggested answer: C

Explanation:

Reference: https://aws.amazon.com/blogs/apn/how-to-authenticate-users-into-your-apps-usingapplicationload-balancer-and-centrify/

A developer has written an Amazon Kinesis Data Streams application. As usage grows and traffic increases over time, the application is regularly receiving ProvisionedThroughputExceededException error messages Which steps should the developer take to resolve the error? (Select TWO.)

A.
Use Auto Scaling to scale the stream for better performance
A.
Use Auto Scaling to scale the stream for better performance
Answers
B.
Increase the delay between the GetRecords call and the PutRecords call.
B.
Increase the delay between the GetRecords call and the PutRecords call.
Answers
C.
Increase the number of shards in the data stream
C.
Increase the number of shards in the data stream
Answers
D.
Specify a shard iterator using the Shardlterator parameter.
D.
Specify a shard iterator using the Shardlterator parameter.
Answers
E.
Implement exponential backoff on the GetRecords call and the PutRecords call.
E.
Implement exponential backoff on the GetRecords call and the PutRecords call.
Answers
Suggested answer: B, C

Explanation:

Reference: https://docs.aws.amazon.com/streams/latest/dev/troubleshooting-consumers.html

A developer wants the ability to roll back to a previous version of an AWS Lambda function in the event of errors caused by a new deployment. How can the developer achieve this with MINIMAL impact on users?

A.
Change the application to use an alias that points to the current version Deploy the new version of the code Update the alias to use the newly deployed version. If too many errors are encountered, point the alias back to the previous version
A.
Change the application to use an alias that points to the current version Deploy the new version of the code Update the alias to use the newly deployed version. If too many errors are encountered, point the alias back to the previous version
Answers
B.
Change the application to use an alias that points to the current version Deploy the new version of the code. Update the alias to direct 10% of users to the newly deployed version. If too many errors are encountered, send 100% of traffic to the previous version
B.
Change the application to use an alias that points to the current version Deploy the new version of the code. Update the alias to direct 10% of users to the newly deployed version. If too many errors are encountered, send 100% of traffic to the previous version
Answers
C.
Do not make any changes to the application Deploy the new version of the code. If too many errors are encountered, point the application back to the previous version using the version number in the Amazon Resource Name (ARN)
C.
Do not make any changes to the application Deploy the new version of the code. If too many errors are encountered, point the application back to the previous version using the version number in the Amazon Resource Name (ARN)
Answers
D.
Create three aliases: new, existing, and router Point the existing alias to the current version Have the router alias direct 100% of users to the existing alias Update the application to use the router alias Deploy the new version of the code Point the new alias to this version Update the router alias to direct 10% of users to the new alias If too many errors are encountered, send 100% of traffic to the existing alias
D.
Create three aliases: new, existing, and router Point the existing alias to the current version Have the router alias direct 100% of users to the existing alias Update the application to use the router alias Deploy the new version of the code Point the new alias to this version Update the router alias to direct 10% of users to the new alias If too many errors are encountered, send 100% of traffic to the existing alias
Answers
Suggested answer: A

A development team is working on a mobile app that allows users to upload pictures to Amazon S3 The team expects the app will be used by hundreds of thousands of users during a single event simultaneously Once the pictures are uploaded, the backend service will scan and parse the pictures for inappropriate content.

Which approach is the MOST resilient way to achieve this goal which also smooths out temporary volume spikes for the backend service?

A.
Develop an AWS Lambda function to check the upload folder in the S3 bucket. If new uploaded pictures are detected, the Lambda function will scan and parse them
A.
Develop an AWS Lambda function to check the upload folder in the S3 bucket. If new uploaded pictures are detected, the Lambda function will scan and parse them
Answers
B.
Once a picture is uploaded to Amazon S3: publish the event to an Amazon SQS queue. Use the queue as an event source to trigger an AWS Lambda function In the Lambda function scan and parse the picture.
B.
Once a picture is uploaded to Amazon S3: publish the event to an Amazon SQS queue. Use the queue as an event source to trigger an AWS Lambda function In the Lambda function scan and parse the picture.
Answers
C.
When the user uploads a picture, invoke an API hosted in Amazon API Gateway. The API will invoke an AWS Lambda function to scan and parse the picture
C.
When the user uploads a picture, invoke an API hosted in Amazon API Gateway. The API will invoke an AWS Lambda function to scan and parse the picture
Answers
D.
Create a state machine in AWS Step Functions to check the upload folder in the S3 bucket. If a new picture is detected, invoke an AWS Lambda function to scan and parse it.
D.
Create a state machine in AWS Step Functions to check the upload folder in the S3 bucket. If a new picture is detected, invoke an AWS Lambda function to scan and parse it.
Answers
Suggested answer: B

A company requires that AWS Lambda functions written by developers log errors so system administrators can more effectively troubleshoot issues What should the developers implement to meet this need?

A.
Publish errors to a dedicated Amazon SQS queue
A.
Publish errors to a dedicated Amazon SQS queue
Answers
B.
Create an Amazon CloudWatch Events event to trigger based on certain Lambda events.
B.
Create an Amazon CloudWatch Events event to trigger based on certain Lambda events.
Answers
C.
Report errors through logging statements in Lambda function code.
C.
Report errors through logging statements in Lambda function code.
Answers
D.
Set up an Amazon SNS topic that sends logging statements upon failure
D.
Set up an Amazon SNS topic that sends logging statements upon failure
Answers
Suggested answer: B

A development team wants to run their container workloads on Amazon ECS Each application container needs to share data with another container to collect logs and metrics. What should the development team do to meet these requirements?

A.
Create two pod specifications Make one to include the application container and the other to include the other container Link the two pods together
A.
Create two pod specifications Make one to include the application container and the other to include the other container Link the two pods together
Answers
B.
Create two task definitions Make one to include the application container and the other to include the other container. Mount a shared volume between the two tasks
B.
Create two task definitions Make one to include the application container and the other to include the other container. Mount a shared volume between the two tasks
Answers
C.
Create one task definition Specify both containers in the definition Mount a shared volume between those two containers
C.
Create one task definition Specify both containers in the definition Mount a shared volume between those two containers
Answers
D.
Create a single pod specification Include both containers in the specification Mount a persistent volume to both containers
D.
Create a single pod specification Include both containers in the specification Mount a persistent volume to both containers
Answers
Suggested answer: C


A company has 25:000 employees and is growing The company is creating an application that will be accessible to its employees only A developer is using Amazon S3 to store images and Amazon RDS to store application dat a. The company requires that all employee information remain in the legacy Security Assertion Markup Language (SAML) employee directory only and is not interested in mirroring any employee information on AWS. How can the developer provide authorized access for the employees who will be using this application so each employee can access their own application data only?

A.
Use Amazon VPC and keep all resources inside the VPC. and use a VPC link for the S3 bucket with the bucket policy.
A.
Use Amazon VPC and keep all resources inside the VPC. and use a VPC link for the S3 bucket with the bucket policy.
Answers
B.
Use Amazon Cognito user pools, federate with the SAML provider and use user pool groups with an IAM policy
B.
Use Amazon Cognito user pools, federate with the SAML provider and use user pool groups with an IAM policy
Answers
C.
Use an Amazon Cognito identity pool, federate with the SAML provider, and use an IAM condition key with a value for the cognito-identity.amazonaws com sub variable to grant access to the employees.
C.
Use an Amazon Cognito identity pool, federate with the SAML provider, and use an IAM condition key with a value for the cognito-identity.amazonaws com sub variable to grant access to the employees.
Answers
D.
Create a unique IAM role for each employee and have each employee assume the role to access the application so they can access their personal data only.
D.
Create a unique IAM role for each employee and have each employee assume the role to access the application so they can access their personal data only.
Answers
Suggested answer: B

A company has developed a new serverless application using AWS Lambda functions that will be deployed using the AWS Serverless Application Model (AWS SAM) CLI Which step should the developer complete prior to deploying the application?

A.
Compress the application to a .zip file and upload it into AWS Lambda
A.
Compress the application to a .zip file and upload it into AWS Lambda
Answers
B.
Test the new AWS Lambda function by first tracing it in AWS X-Ray.
B.
Test the new AWS Lambda function by first tracing it in AWS X-Ray.
Answers
C.
Bundle the serverless application using a SAM package
C.
Bundle the serverless application using a SAM package
Answers
D.
Create the application environment using the eb create my-env command.
D.
Create the application environment using the eb create my-env command.
Answers
Suggested answer: B

A developer needs to create an application that supports Security Assertion Markup Language

(SAML) and Facebook authentication It must also allow access to AWS services, such as Amazon DynamoDB. Which AWS service or feature will meet these requirements with the LEAST amount of additional coding?

A.
AWSAppSync
A.
AWSAppSync
Answers
B.
Amazon Cognito identity pools
B.
Amazon Cognito identity pools
Answers
C.
Amazon Cognito user pools
C.
Amazon Cognito user pools
Answers
D.
Amazon Lambda@Edge
D.
Amazon Lambda@Edge
Answers
Suggested answer: B

Explanation:

Reference: https://aws.amazon.com/blogs/mobile/amazon-cognito-user-pools-supports-federationwith-saml/

A developer has a legacy application that is hosted on-premises Other applications hosted on AWS depend on the on-premises application for proper functioning In case of any application errors, the developer wants to be able to use Amazon CloudWatch to monitor and troubleshoot all applications from one place.

How can the developer accomplish this?

A.
Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch .
A.
Install an AWS SDK on the on-premises server to automatically send logs to CloudWatch .
Answers
B.
Download the CloudWatch agent to the on-premises server Configure the agent to use IAM user credentials with permissions for CloudWatch
B.
Download the CloudWatch agent to the on-premises server Configure the agent to use IAM user credentials with permissions for CloudWatch
Answers
C.
Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files
C.
Upload log files from the on-premises server to Amazon S3 and have CloudWatch read the files
Answers
D.
Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.
D.
Upload log files from the on-premises server to an Amazon EC2 instance and have the instance forward the logs to CloudWatch.
Answers
Suggested answer: B

Explanation:

Reference: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-onpremise.Html

Total 608 questions
Go to page: of 61