Leaving presentation mode.
CLD120 Module 13 Knowledge Check
Building Decoupled Architectures
Question 1
Which statement describes the difference between tightly and loosely coupled architectures?
- Components in a tightly coupled architecture are highly dependent on each other. In a loosely coupled architecture, components aren’t highly dependent on each other.
- Tightly coupled architectures are more likely to fail than loosely coupled architectures.
- Loosely coupled architectures must use managed services, and tightly coupled architectures don’t have this limitation.
- Loose coupling increases the complexity of scaling. Tight coupling decreases it.
Question 2
Which statements describe Amazon Simple Queue Service (Amazon SQS)? (Select THREE.)
- Supports standard queues and topics
- Sends push notifications to consumers
- Supports email and text messaging
- Stores and optionally encrypts messages until they are processed and deleted
- Requires a consumer to poll the queue for messages
- Enables you to decouple and scale microservices, distributed systems, and serverless applications
Question 3
Which statements are true when using an Amazon Simple Queue Service (Amazon SQS) standard queue? (Select TWO.)
- A message might be delivered more than once.
- A message must be processed only once.
- Messages must be processed in the order that they are sent.
- Messages can be sent in any order.
- Messages can be assigned a priority.
Question 4
A fleet of Amazon EC2 instances process videos that users upload. Which function can Amazon Simple Queue Service (Amazon SQS) perform in this application?
- The application writes the video files to an SQS queue. EC2 instances with available processing capacity pull the next video from the queue.
- An SQS queue receives messages from the application and notifies all available EC2 instances that videos are available.
- The application places job messages in an SQS queue. EC2 instances with available processing capacity pull the next job message from the queue.
- EC2 instances put edited video files in an SQS queue. The application retrieves the videos from the queue.
Question 5
What is Amazon Simple Notification Service (Amazon SNS)?
- A flexible and scalable outbound and inbound marketing communications service that uses email, short message service (SMS), push, or voice communication channels
- A cost-effective, flexible, and scalable email service that enables developers to send email from within any application
- A fully managed messaging service for both system-to-system and application-to-person (A2P) communication, which uses publish/subscribe patterns
- A serverless event bus that enables easy connection of applications by using data from your own applications, integrated software as a service (SaaS) applications, and AWS services
Question 6
What are some use cases for Amazon Simple Notification Service (Amazon SNS)? (Select THREE.)
- Send a push notification to mobile applications when a new software update is available.
- Gather streaming data from multiple systems.
- Notify multiple systems that user input is ready for processing.
- Hold input until it can be processed in the order that it’s received.
- Send a text message to systems operators when unusual activity has been detected.
- Trigger a single AWS Lambda function when an object is created in an Amazon S3 bucket.
Question 7
What are some features of Amazon Simple Notification Service (Amazon SNS)? (Select TWO.)
- Recall of sent messages
- Message delivery to an Amazon Simple Queue Service (Amazon SQS) queue
- Guaranteed message delivery even when an endpoint isn’t accessible
- Message delivery to a URL
- Providing strict message ordering with standard topics
Question 8
Two different AWS Lambda functions must simultaneously process PDF files that are uploaded to an Amazon S3 bucket. The S3 event notification allows only one action when the PDF files are uploaded. Which solution provides the least complex way to process messages with both Lambda functions efficiently?
- Upload two copies of each PDF file by using different object key prefixes.
- Send the S3 event to an Amazon Simple Notification Service (Amazon SNS) topic that both Lambda functions subscribe to.
- Send the S3 event to an Amazon Simple Queue Service (Amazon SQS) queue that both Lambda functions poll.
- Send the S3 event to Amazon MQ for distribution to both Lambda functions.
Question 9
What is Amazon MQ?
- Message broker service
- Identity broker service
- Data migration service
- Application monitoring service
Question 10
Which is a common use case for Amazon MQ?
- Connect a virtual private cloud (VPC) to an on-premises network.
- Upload a standalone static website to AWS.
- Decouple components in a new cloud-native application.
- Leverage an existing on-premises application that uses Apache ActiveMQ to communicate between microservices.
Keyboard Shortcuts