1. What does an Amazon SQS delay queue accomplish?
A) Messages are hidden for a configurable amount of time after they are consumed from the queue. B) Message cannot be deleted for a configurable amount of time after they are consumed from the queue. C) The consumer can poll the queue for a configurable amount of time before retrieving a message. D) Messages are hidden for a configurable amount of time when they are first added to the queue.
2. A Developer is creating a template that uses AWS CloudFormation to deploy an application. This application is serverless and uses Amazon API Gateway, Amazon DynamoDB, and AWS Lambda. Which tool should the Developer use to define simplified syntax for expressing serverless resources?
A) A CloudFormation serverless plugin B) An AWS serverless application model C) AWS serverless express D) CloudFormation serverless intrinsic functions
3. An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads. How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?
A) Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails. B) Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails. C) Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3. D) Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
4. A company needs a version control system for collaborative software development. Features of the system must include the following: Support for batches of changes across multiple files Parallel branching Version tracking Which AWS service will meet these requirements?
A) AWS Code Build B) AWS CodeCommit C) Amazon S3 D) AWS CodePipeline
5. A social media company is using Amazon Cognito in order to synchronize profiles across different mobile devices, to enable end users to have a seamless experience. Which of the following configurations can be used to silently notify users whenever an update is available on all other devices?
A) Use the SyncCallback interface to receive notifications on the application. B) Modify the user pool to include all the devices which keep them in sync. C) Use the push synchronization feature with the appropriate IAM role. D) Use an Amazon Cognito stream to analyze the data and push the notifications.
1. Right Answer: D Explanation: Reference: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-delay-queues.html
2. Right Answer: B Explanation: Reference: https://docs.aws.amazon.com/lambda/latest/dg/lambda-application-fundamentals.html
3. Right Answer: C Explanation: Reference: https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
4. Right Answer: B Explanation: Reference: https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html
5. Right Answer: D Explanation: Reference: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sync.html
Leave a comment