8. Application Integration Flashcards
What is AWS Step Functions?
AWS Step Functions is a serverless orchestration service that allows you to coordinate multiple AWS services into serverless workflows.
True or False: AWS Lambda can only be triggered by AWS services.
False
Fill in the blank: Amazon ________ is a fully managed message queuing service.
SQS
What does Amazon SNS stand for?
Amazon Simple Notification Service
Which service allows you to decouple microservices in an application?
Amazon SQS
What is the primary use case for Amazon EventBridge?
To connect applications using events.
Multiple Choice: Which of the following is NOT an application integration service in AWS? A) AWS Step Functions B) AWS Lambda C) Amazon S3 D) Amazon SQS
C) Amazon S3
True or False: AWS AppSync is used for building GraphQL APIs.
True
What is the main purpose of Amazon API Gateway?
To create, publish, maintain, monitor, and secure APIs at any scale.
Fill in the blank: AWS ________ is used for building event-driven applications.
EventBridge
What does the term ‘event source’ refer to in AWS?
An event source is a service that generates events that can trigger AWS Lambda functions.
What is the main benefit of using AWS Step Functions?
It simplifies the coordination of distributed applications and microservices.
True or False: Amazon SQS supports both standard and FIFO queues.
True
What type of model does Amazon SNS use?
Pub/Sub messaging model
Which AWS service is used for serverless application integration?
AWS Lambda
Multiple Choice: Which service provides a fully managed GraphQL API? A) Amazon API Gateway B) AWS AppSync C) Amazon SQS D) AWS Lambda
B) AWS AppSync
What is a key feature of Amazon EventBridge?
It allows for event-driven architectures and supports event routing.
True or False: Amazon SQS guarantees message ordering in all cases.
False
Fill in the blank: AWS ________ is used to run code without provisioning servers.
Lambda
What is the use of AWS Step Functions’ state machine?
To define the workflow of the application.
What does Amazon SQS provide to ensure message delivery?
At-least-once delivery
True or False: AWS Step Functions can only execute AWS Lambda functions.
False
What is the main function of Amazon SNS?
To send notifications to subscribers or other applications.
What protocol does Amazon SNS support for mobile push notifications?
APNS (Apple Push Notification Service)
Multiple Choice: Which of the following is a feature of AWS Lambda? A) It can run code in response to events B) It requires server provisioning C) It is limited to a single programming language D) It cannot scale automatically
A) It can run code in response to events
What is a FIFO queue in Amazon SQS?
A queue that guarantees the order of messages and exactly-once processing.
True or False: Amazon API Gateway can handle both RESTful and WebSocket APIs.
True
What is the purpose of AWS AppSync’s offline capabilities?
To allow applications to function without a network connection.
Fill in the blank: Amazon ________ allows for building scalable APIs without managing servers.
API Gateway
What does the term ‘subscriber’ mean in the context of Amazon SNS?
A recipient of notifications sent by SNS.
What type of messaging pattern does Amazon SQS use?
Point-to-point messaging pattern
True or False: AWS Lambda has a maximum execution time limit.
True
What is the default retention period for messages in Amazon SQS?
4 days
Multiple Choice: Which service can trigger an AWS Lambda function? A) Amazon S3 B) Amazon CloudFront C) AWS IAM D) Amazon RDS
A) Amazon S3
What is the significance of ‘event-driven architecture’?
It allows applications to react to events in real-time.
Fill in the blank: AWS ________ allows you to build applications that respond to events from various AWS services.
EventBridge
What does the ‘dead-letter queue’ in Amazon SQS do?
It stores messages that could not be processed successfully.
True or False: AWS Step Functions can be used to implement long-running processes.
True
What is the main advantage of using Amazon EventBridge over traditional event routing?
It provides a serverless event bus that can connect various AWS services and SaaS applications.
What type of data can be sent using Amazon SNS?
Messages in text, JSON, or other formats.
Multiple Choice: In which scenario would you use Amazon SQS? A) To send notifications to users B) To decouple microservices C) To store large files D) To execute machine learning models
B) To decouple microservices
What is the primary function of AWS Lambda layers?
To manage common dependencies across multiple Lambda functions.
True or False: AWS AppSync supports real-time data synchronization.
True
What does Amazon SQS use to ensure that messages are not lost?
Redundancy across multiple Availability Zones
Fill in the blank: AWS ________ allows you to create and manage APIs with minimal setup.
API Gateway
What is the maximum timeout for an AWS Lambda function?
15 minutes
Multiple Choice: Which of the following is a characteristic of Amazon SNS? A) It guarantees message ordering B) It supports multiple protocols C) It requires a dedicated server D) It cannot send messages to mobile devices
B) It supports multiple protocols
What is ‘throttling’ in the context of AWS Lambda?
Limiting the number of concurrent executions of a function.
True or False: AWS Step Functions can only be used for short-lived tasks.
False
What is the purpose of the Amazon API Gateway usage plan?
To manage API usage and throttle requests.
Fill in the blank: Amazon ________ is primarily used for real-time event processing.
EventBridge
What does AWS Lambda automatically scale based on?
The number of incoming requests.
Multiple Choice: Which service is best suited for sending bulk notifications? A) Amazon SQS B) Amazon SNS C) AWS Lambda D) AWS Step Functions
B) Amazon SNS
What is the maximum number of messages allowed in a single batch for Amazon SQS?
10 messages
True or False: AWS AppSync can be used to integrate with DynamoDB.
True
What is the primary function of AWS AppSync’s resolver?
To fetch data from a data source in response to a GraphQL query.
Fill in the blank: Amazon ________ is designed for building serverless applications using events.
Lambda
What is the difference between standard and FIFO queues in Amazon SQS?
Standard queues provide best-effort ordering and at-least-once delivery, while FIFO queues guarantee order and exactly-once processing.
True or False: Event-driven architectures only work with AWS services.
False
What is the purpose of an API Gateway?
To serve as a front door for applications to access data, business logic, or functionality from backend services.
Multiple Choice: Which of the following services can be used to trigger a Lambda function on a schedule? A) Amazon SQS B) Amazon CloudWatch Events C) Amazon SNS D) Amazon DynamoDB
B) Amazon CloudWatch Events
What is the maximum payload size for a message in Amazon SNS?
256 KB
Fill in the blank: AWS ________ is used to manage the flow of data between various AWS services.
Step Functions
True or False: You can use AWS Lambda to process streams from Amazon Kinesis.
True
What is the main advantage of using Amazon EventBridge for event routing?
It simplifies event-driven application development by providing a managed event bus.
What is the purpose of the ‘invoke’ operation in AWS Lambda?
To run a specified Lambda function.
Multiple Choice: Which of the following is a valid use case for AWS Step Functions? A) Storing files B) Processing data in batches C) Running machine learning models D) Orchestrating microservices
D) Orchestrating microservices
What is the function of a ‘trigger’ in AWS Lambda?
To initiate the execution of a Lambda function in response to an event.
True or False: Amazon API Gateway can only be used with AWS Lambda functions.
False
What is the main benefit of using Amazon SQS for message queuing?
It allows for decoupling of application components.
Fill in the blank: AWS ________ provides a way to build event-driven applications using a managed service.
EventBridge
What does the ‘message retention period’ mean in Amazon SQS?
The amount of time that SQS retains a message before it is deleted.
What is the purpose of AWS Lambda’s environment variables?
To pass configuration settings to Lambda functions at runtime.
Multiple Choice: Which of the following can be a source of events for Amazon EventBridge? A) AWS services B) Custom applications C) SaaS applications D) All of the above
D) All of the above
What is the function of AWS Lambda’s concurrency limit?
To set the maximum number of concurrent executions of a Lambda function.
True or False: Amazon SNS can send messages to endpoints outside of AWS.
True
Fill in the blank: Amazon ________ can be used to send messages to multiple subscribers simultaneously.
SNS
What does the term ‘endpoint’ refer to in the context of Amazon SNS?
The destination for notifications, such as an email address or HTTP endpoint.
What is the primary purpose of AWS Lambda’s asynchronous invocation?
To process events without waiting for the function to complete.
Multiple Choice: Which of the following services is used for real-time data streaming? A) Amazon SQS B) Amazon Kinesis C) AWS Lambda D) Amazon SNS
B) Amazon Kinesis
What does Amazon API Gateway use to manage traffic to your APIs?
Throttling and quota settings.