Integration, Messaging, & Access Flashcards
What are the two main patterns for application communication?
Synchronous and Asynchronous/Event-based.
What AWS service is used for asynchronous queue-based communication?
Amazon SQS.
What AWS service is used for pub/sub messaging?
Amazon SNS.
What AWS service is used for real-time data streaming?
Amazon Kinesis.
What is the default message retention period in SQS?
4 days (can be increased up to 14 days).
What is the max message size in SQS?
256 KB (larger messages require SQS Extended Client).
What is a Dead Letter Queue (DLQ) in SQS?
A secondary queue for messages that can’t be processed after multiple attempts.
What is SQS Long Polling?
A method to wait for messages, reducing empty responses and API calls.
What is SQS FIFO queue used for?
For strict message ordering and exactly-once processing.
How is message deduplication handled in SQS FIFO?
Using content-based deduplication or explicit deduplication ID.
What is Amazon SNS used for?
To send messages to multiple subscribers (Pub/Sub model).
What is the fan-out pattern in SNS?
SNS topic sends the same message to multiple SQS queues.
What is Kinesis Data Streams used for?
To capture, process, and store real-time streaming data.
What are Kinesis capacity modes?
Provisioned and On-Demand.
What is the throughput per shard in Kinesis provisioned mode?
1 MB/s input, 2 MB/s output.
What are the consumer types in Kinesis?
Shared (Classic) Fan-out and Enhanced Fan-out.
What is Amazon Kinesis Data Firehose?
A fully managed service to load streaming data into AWS data stores.
What is Kinesis Data Analytics used for?
To analyze streaming data using SQL or Apache Flink.
How is data ordering managed in Kinesis?
Using partition keys to route data to the same shard.
How does SQS FIFO handle message ordering?
Using message group IDs for ordered processing within groups.
What is the key difference between SQS and SNS?
SQS is a pull-based queue, SNS is a push-based pub/sub system.
What is the key use case of Kinesis over SQS?
Real-time big data analytics, streaming ETL, and reprocessing data.
What is AWS Cognito used for?
To provide user identities and enable secure access to web and mobile applications.
What is a Cognito User Pool?
A serverless user directory for managing sign-up, sign-in, and user profile management.