Application Services Flashcards
What configuration is required to be set to avoid errors when communicating between resources with different domain names in API Gateway?
In order for resources with different domain names to communicate you need to enable CORS (Cross Origin Resource Sharing) for the desired methods.
What is Amazon SNS?
Amazon DNS (Simple Notification Service) is a web service that makes it easy to set up, operate and send messages from the cloud.
What is SQS?
SQS (Simple Queue Service) is a service that enables access to a message queue.
Is SQS push based or pull based?
SQS is a pull based service.
How big can an SQS message be?
A message can be up to 256KB.
How long are messages kept in an SQS queue?
A message can be in the queue from 1 minute to 14 days. The default is 4 days.
In SQS what is the Visibility Timeout?
The Visibility Timeout is the amount of time the message is kept invisible in the SQS queue after a reader has picked it up. If the message’s job is processed before the Visibility Timeout expires the message will be removed from the queue, if not it will become visible again and can be processed by another reader.
In SQS what is Long Polling?
Long Polling increases the length of a single polling call to SQS. While Short Polling (the default polling configuration) constantly polls the SQS queue even when it is empty, a Long Polling event does not return a response until there is a message to return or the polling timeout is reached. This can save money because it will result in fewer polling events when the queue is empty.
What is the main difference between SWF and SQS?
In SWF (Simple Workflow Service) a task is only assigned once and never duplicated. In SQS (Simple Queue Service) a task can be assigned multiple times and if the message visibility timeout is reached on a task that task can be duplicated.
What is Amazon SWF?
SWF (Simple Workflow Service) is a web service that makes it easy to coordinate work across distributed application components.
What is Elastic Transcoder?
It is a Media Transcoder that allows you to convert media files from their original format to various formats designed to play on different devices.
What is API Gateway?
amazon API Gateway is a fully managed service that allows developers to publish, maintain, monitor, and secure APIs at any scale.
How can API Gateway increase performance for duplicated requests?
API Gateway has the ability to cache responses in order to increase performance for commonly requested responses.
If API Gateway returns an error such as “Origin Policy Cannot Be Read At The Remote Resource” what can fix this issue?
To fix this issue you can enable CORS (Cross Origin Resource Sharing) in API Gateway.
What are the core Kinesis services?
Kinesis Streams - used to capture large amounts of data (terabytes per hour) from data producers, and streaming it into custom applications for data processing and analysis. Data is stored in Shards, by default for 24 hours, this can be extended up to 7 days.
Kinesis Firehose - Firehose is Amazon’s data-ingestion product offering for Kinesis. It is used to capture and load streaming data into other Amazon services such as S3 and Redshift. From there, you can load the streams into data processing and analysis tools like Elastic Map Reduce, and Amazon Elasticsearch Service. It is also possible to load the same data into S3 and Redshift at the same time using Firehose.
Kinesis Analytics - Using Data Analytics you can process and analyze streaming data using standard SQL.