AWS AWS Application Integration and Messaging 2 — Questions and Answers
Question 1: Which AWS service acts as a serverless event bus that connects application data from your own apps, SaaS apps, and AWS services?
- Amazon SNS
- Amazon SQS
- Amazon EventBridge (Correct answer)
- AWS AppSync
Correct answer: Amazon EventBridge
Amazon EventBridge is a serverless event bus that makes it easy to connect applications using data from external SaaS providers, AWS services, or your own applications.
Question 2: What does Amazon API Gateway primarily provide for developers?
- A managed VPN service
- A fully managed service for creating, publishing, and securing APIs (Correct answer)
- An in-memory caching layer for APIs
- A DNS management service
Correct answer: A fully managed service for creating, publishing, and securing APIs
Amazon API Gateway is a fully managed service that makes it easy to create, publish, maintain, monitor, and secure APIs at any scale, acting as the front door for backend services.
Question 3: Which AWS service provides managed Apache ActiveMQ and RabbitMQ message brokers for migrating traditional message brokers to the cloud?
- Amazon SQS
- Amazon SNS
- Amazon MQ (Correct answer)
- AWS EventBridge
Correct answer: Amazon MQ
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ, making it easy to migrate existing applications that use standard messaging APIs to AWS.
Question 4: What is the visibility timeout in Amazon SQS?
- The time a message is retained in the queue
- The period during which a received message is hidden from other consumers (Correct answer)
- The delay before a new message becomes visible
- The time allowed to process a batch of messages
Correct answer: The period during which a received message is hidden from other consumers
The visibility timeout is the period during which SQS prevents other consumers from receiving and processing a message that has already been received by one consumer.
Question 5: Which AWS service enables you to build real-time, bidirectional communication applications using WebSockets via API Gateway?
- Amazon Kinesis Data Streams
- API Gateway WebSocket APIs (Correct answer)
- AWS AppSync Subscriptions
- Amazon SNS Mobile Push
Correct answer: API Gateway WebSocket APIs
API Gateway WebSocket APIs enable you to build real-time two-way communication applications, such as chat apps and dashboards, without managing infrastructure.
Question 6: In AWS Step Functions, what is the difference between Standard and Express Workflows?
- Standard supports more states; Express has fewer state types
- Standard is for long-running workflows up to 1 year; Express is for high-volume, short-duration workflows (Correct answer)
- Standard is free; Express has per-execution charges
- Standard uses JSON; Express uses YAML
Correct answer: Standard is for long-running workflows up to 1 year; Express is for high-volume, short-duration workflows
Standard Workflows support executions up to 1 year for long-running processes, while Express Workflows are optimized for high-volume, event-driven workloads with durations up to 5 minutes.
Which AWS service acts as a serverless event bus that connects application data from your own apps, SaaS apps, and AWS services?