0
0
AWScloud~20 mins

Why messaging services matter in AWS - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Messaging Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why use messaging services in cloud applications?

Which of the following best explains why messaging services are important in cloud applications?

AThey allow different parts of an application to communicate asynchronously, improving scalability and reliability.
BThey store large amounts of data permanently for backup purposes.
CThey provide direct database access to all users for faster queries.
DThey replace the need for any security measures in cloud applications.
Attempts:
2 left
💡 Hint

Think about how different parts of an app can work together without waiting for each other.

service_behavior
intermediate
2:00remaining
Behavior of AWS SQS when messages are not deleted

In AWS Simple Queue Service (SQS), what happens if a message is received but not deleted within the visibility timeout?

AThe message becomes visible again in the queue and can be received by other consumers.
BThe message is permanently lost and cannot be retrieved.
CThe message is automatically deleted after the visibility timeout expires.
DThe message is moved to a dead-letter queue immediately.
Attempts:
2 left
💡 Hint

Consider what happens if a consumer fails to process a message in time.

Architecture
advanced
2:30remaining
Designing a decoupled system with messaging

You want to design a cloud system where the front-end sends user requests to be processed later by multiple back-end workers. Which architecture best uses messaging services to achieve this?

AFront-end writes directly to a shared database; workers read from the database to process requests.
BFront-end sends messages to a queue; multiple workers pull messages from the queue and process them independently.
CFront-end calls each worker directly via HTTP for synchronous processing.
DFront-end stores requests in local files; workers read files from the front-end server.
Attempts:
2 left
💡 Hint

Think about how to separate components so they don't depend on each other directly.

security
advanced
2:30remaining
Securing messaging services in the cloud

Which practice is most effective to secure messages in a cloud messaging service like AWS SNS or SQS?

AStore sensitive data directly in messages without any protection.
BAllow all users full access to the messaging service for easier management.
CUse IAM policies to restrict who can send and receive messages, and enable encryption at rest and in transit.
DDisable encryption to improve performance and rely on network security only.
Attempts:
2 left
💡 Hint

Think about controlling access and protecting data privacy.

Best Practice
expert
3:00remaining
Choosing the right messaging pattern for event-driven architecture

You are building an event-driven system where multiple services need to react to the same event independently and in real-time. Which messaging pattern and AWS service combination is best suited for this?

APoint-to-point pattern using AWS SQS with a single queue for all services.
BUsing AWS Lambda to poll SQS queues sequentially for each service.
CDirect database polling by each service to detect changes.
DPublish-subscribe pattern using AWS SNS to broadcast events to multiple subscribers.
Attempts:
2 left
💡 Hint

Consider how to send one event to many services efficiently.