Amazon AWS Certified Developer - Associate 2018 - AWS Certified Developer - Associate 2018 Exam
Page: 2 / 13
Total 62 questions
Question #6 (Topic: Topic 1)
What are the steps to using the AWS CLI to launch a templatized serverless application?
A. Use AWS CloudFormation get-template then CloudFormation execute-change-set.
B. Use AWS CloudFormation validate-template then CloudFormation create-change-set.
C. Use AWS CloudFormation package then CloudFormation deploy.
D. Use AWS CloudFormation create-stack then CloudFormation update-stack.
Answer: C
Question #7 (Topic: Topic 1)
A Developer is creating a web application that requires authentication, but also needs to support guest access to provide users limited access without having to
authenticate. What service can provide support for the application to allow guest access?
authenticate. What service can provide support for the application to allow guest access?
A. IAM temporary credentials using AWS STS.
B. Amazon Directory Service
C. Amazon Cognito with unauthenticated access enabled
D. IAM with SAML integration
Answer: C
Question #8 (Topic: Topic 1)
An application takes 40 seconds to process instructions received in an Amazon SQS message.
Assuming the SQS queue is configured with the default VisibilityTimeout value, what is the BEST way, upon receiving a message, to ensure that no other
instances can retrieve a message that has already been processed or is currently being processed?
Assuming the SQS queue is configured with the default VisibilityTimeout value, what is the BEST way, upon receiving a message, to ensure that no other
instances can retrieve a message that has already been processed or is currently being processed?
A. Use the ChangeMessageVisibility API to increase the VisibilityTimeout, then use the DeleteMessage API to delete the message.
B. Use the DeleteMessage API call to delete the message from the queue, then call DeleteQueue API to remove the queue.
C. Use the ChangeMessageVisibility API to decrease the timeout value, then use the DeleteMessage API to delete the message.
D. Use the DeleteMessageVisibility API to cancel the VisibilityTimeout, then use the DeleteMessage API to delete the message.
Answer: A
Question #9 (Topic: Topic 1)
A Developer has implemented a Lambda function that needs to add new customers to an RDS database that is expected to run hundreds of times per hour. The
Lambda function is configured to use 512MB of RAM and is based on the following pseudo code:
[Amazon-AWS Certified Developer - Associate 2018-1.0/xmlfile-6_1.png]
After testing the Lambda function, the Developer notices that the Lambda execution time is much longer than expected. What should the Developer do to improve
performance?
Lambda function is configured to use 512MB of RAM and is based on the following pseudo code:
[Amazon-AWS Certified Developer - Associate 2018-1.0/xmlfile-6_1.png]
After testing the Lambda function, the Developer notices that the Lambda execution time is much longer than expected. What should the Developer do to improve
performance?
A. Increase the amount of RAM allocated to the Lambda function, which will increase the number of threads the Lambda can use.
B. Increase the size of the RDS database to allow for an increased number of database connections each hour.
C. Move the database connection and close statement out of the handler. Place the connection in the global space.
D. Replace RDS wit Amazon DynamoDB to implement control over the number of writes per second.
Answer: B
Question #10 (Topic: Topic 1)
A current architecture uses many Lambda functions invoking one another as a large state machine. The coordination of this state machine is legacy custom code
that breaks easily.
Which AWS Service can help refactor and manage the state machine?
that breaks easily.
Which AWS Service can help refactor and manage the state machine?
A. AWS Data Pipeline
B. AWS SNS with AWS SQS
C. Amazon Elastic MapReduce
D. AWS Step Functions
Answer: D