amazon_connect_streaming_flashcards

(61 cards)

1
Q

What is a Contact Record in Amazon Connect?

A

A JSON document that captures the details of a contact interaction including start date/time | customer phone number | queues and agents involved | and contact attributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When are Contact Records published?

A

Published at least once when the contact ends. Republished every time additional record information is updated post-record creation (e.g. using UpdateContactAttributes API).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are common use cases for streaming Contact Records?

A

Storing detailed interaction information for data retention compliance | Streaming interaction data to third-party workforce management or reporting applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Agent Events in Amazon Connect?

A

Events published via Kinesis Data Streams related to agent availability to handle contacts in the CCP. Includes four events: agent login | agent logout | agent status change | and heartbeat event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are common use cases for Agent Events?

A

Creating custom solutions and agent activity dashboards | Building supervisor alerting solutions that send personalized notifications on agent activity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Amazon Kinesis Data Streams?

A

A serverless streaming data service that captures | processes | and stores data streams at any scale. Used for rapid and continuous data intake and aggregation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Amazon Data Firehose?

A

A fully managed service that delivers real-time streaming data to destinations such as Amazon S3 | Amazon Redshift | Amazon OpenSearch Service | and Splunk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Producer in streaming architecture?

A

Any source that generates and sends payloads to a Kinesis data stream in near real time. An application or service that continuously generates data that needs to be processed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Consumer in streaming architecture?

A

An application or service that reads and processes the payload from an Amazon Kinesis data stream. Performs operations like filtering | aggregating | transforming | or storing data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Fan-out architecture?

A

An architecture that distributes incoming payload to multiple outputs or consumers simultaneously. Used when a payload must be processed by multiple independent downstream applications in parallel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the benefits of streaming Amazon Connect data?

A

Custom real-time reports using preferred reporting platforms | Automated actions based on predefined criteria like sentiment scores.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the one producer one consumer pattern?

A

Basic data streaming pattern where one producer sends data to Kinesis and one consumer processes the data available in the stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does Amazon Data Firehose do in streaming architecture?

A

Provides the most efficient way to transform and deliver real-time data streams to a destination. Continuously processes the stream | automatically scales | and delivers data in seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What data format conversions can Firehose perform?

A

Can convert input data from JSON to Apache Parquet or Apache ORC before storing in Amazon S3. Can use Lambda to transform other formats (like CSV) to JSON first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are Amazon Connect Agent Event Streams?

A

Kinesis data streams that provide near real-time reporting of agent activity. Includes agent login | logout | status changes | and heartbeat events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the one producer multiple consumers pattern?

A

Also called fan-out. Offers flexibility to manage and distribute data from a single source to multiple destinations. Multiple consumers subscribe to one data source and process data concurrently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a common use case for fan-out architecture?

A

Streaming contact records to multiple destinations simultaneously. Example: sending data to both long-term storage (S3 via Firehose) and real-time processing (Lambda for API integration).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What encryption does Kinesis Data Streams offer?

A

Server-side encryption using customer managed keys. Automatically encrypts data in transit before writing to storage layer and decrypts after retrieval from storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What KMS permission does a Kinesis stream producer need?

A

kms:GenerateDataKey permission to encrypt data being sent to the stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What KMS permission does a Kinesis stream consumer need?

A

kms:Decrypt permission to read and decrypt data from the stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What role does Amazon Connect use to send records to Kinesis?

A

Uses the service-linked role of the instance for authorization. This role requires permission to use the KMS key that encrypts the data stream.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Kinesis Data Streams vs Firehose: Data processing?

A

Kinesis Data Streams: Custom data processing using Managed Apache Flink or external processing. Firehose: Basic transformations and format conversions only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Kinesis Data Streams vs Firehose: Management?

A

Kinesis Data Streams: Requires manual scaling and shard management. Firehose: Fully managed with automatic scaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Kinesis Data Streams vs Firehose: Data storage?

A

Kinesis Data Streams: Stores data for 24 hours by default (extendable to 7 days). Firehose: Does not store data | directly delivers to destinations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Kinesis Data Streams vs Firehose: Integration?
Kinesis Data Streams: Requires integration with other AWS services for storage/analytics. Firehose: Integrates directly with S3 | Redshift | OpenSearch for immediate delivery.
26
Kinesis Data Streams vs Firehose: Pricing?
Kinesis Data Streams: Charges based on number of shards and data retention period. Firehose: Charges based on amount of data ingested and transformed.
27
What are typical use cases for Kinesis Data Streams?
Real-time monitoring and analytics | Complex event processing | Aggregating and analyzing high volume of data.
28
What are typical use cases for Amazon Data Firehose?
Streaming log data to S3 for later analysis | Feeding data into Redshift for business intelligence | Sending real-time application logs to OpenSearch for operational insights.
29
When should you choose Kinesis Data Streams over Firehose?
When you need custom data processing | complex event processing | real-time analytics | or control over data retention and processing logic.
30
When should you choose Firehose over Kinesis Data Streams?
When you need straightforward data delivery to destinations | basic transformations only | fully managed solution | or don't need data retention.
31
What is server-side encryption in Kinesis?
Encryption that automatically encrypts data before writing to storage and decrypts after retrieval. Encrypts incoming data only after enabled | preexisting unencrypted data remains unencrypted.
32
What types of data can Amazon Connect export to Kinesis in real time?
Contact records | Agent events | Customer Profiles (when profiles are created or modified).
33
Where do cloud administrators configure data streaming for Amazon Connect?
In the AWS Management Console for the Amazon Connect instance. Requires appropriate permissions to configure.
34
What can developers build with streamed Amazon Connect data?
Consumer applications to process and analyze data in real time. Examples: automatic CRM updates | agent activity dashboards | custom notifications for agent activity.
35
What is Customer Profiles real-time data export?
Automatic export of unified customer profiles to Kinesis Data Streams. Receives data for new profiles and updates to existing profiles in real time.
36
What is a use case for Customer Profiles streaming?
Maintaining CRM systems and marketing automation tools with latest information. Example: agent updates customer address in workspace and change streams to Kinesis in real time.
37
How do you enable Customer Profiles data streaming?
Select Enable data streaming checkbox | choose existing Kinesis data stream or create new one | save settings by choosing Enable data streaming.
38
What role does Lambda play in stream data processing?
Implements data transformation logic for both Kinesis Data Streams and Firehose. Transforms incoming source data before delivering to destinations.
39
What is an example of Lambda transformation on contact records?
Updating contact attribute values based on custom business rules | enhancing records before delivery to downstream applications.
40
What data format conversions can Firehose perform automatically?
Converts JSON to Apache Parquet or Apache ORC before storing in S3. These are columnar data formats that save space and facilitate faster queries.
41
What are Apache Parquet and Apache ORC?
Columnar data formats that save space and facilitate faster queries compared to row-oriented formats like JSON. Performance-oriented and column-based.
42
Why convert JSON to Parquet format?
Parquet is performance-oriented and column-based which optimizes running data queries. Beneficial for dashboards using Amazon QuickSight | Athena | and AWS Glue.
43
How can Lambda help with non-JSON input formats?
Lambda functions can transform input formats like CSV or structured text into JSON format first before Firehose processes them.
44
When can administrators enable Firehose data transformation?
When they create Firehose streams. This allows Lambda functions to transform incoming source data.
45
What are the benefits of streaming Amazon Connect data?
Real-time CRM updates | Agent activity monitoring and dashboards | Custom notifications | Automatic profile synchronization | Real-time analytics and insights.
46
What happens when Firehose invokes Lambda for transformation?
Lambda receives incoming source data | applies transformation logic (like updating values based on business rules) | returns transformed data | Firehose delivers to destinations.
47
What data does Amazon Connect stream using Kinesis Data Streams?
Contact records and agent events. Agent events include agent login | logout | status change | and heartbeat.
48
What is a producer in Kinesis streaming?
Any source that generates and sends payloads to a Kinesis data stream in near real time.
49
What is a consumer in Kinesis streaming?
An application or service that reads and processes payloads from a Kinesis data stream.
50
What is a fan-out data streaming architecture?
Distributes incoming payloads to multiple outputs or consumers simultaneously. Allows concurrent streaming to multiple downstream applications.
51
What is the role of Kinesis in microservice architectures?
Acts as a highly available conduit to stream messages between data producers and data consumers in a scalable and flexible architecture.
52
How do cloud administrators configure Amazon Connect data streaming?
Configure data streaming for Amazon Connect instances in the AWS Management Console.
53
What Customer Profiles capability supports real-time export?
Real-time data export of unified customer profiles to Kinesis Data Streams. Automatically sends new profiles and updates to existing profiles.
54
What two AWS services can Lambda transform data for?
Lambda functions can implement data transformation logic for both Kinesis Data Streams and Firehose.
55
What format conversions does Firehose support before storing in S3?
Converts input data from JSON to Apache Parquet or Apache ORC. Both are columnar formats that save space and enable faster queries.
56
What additional capability does Firehose have for CloudWatch Logs?
Supports decompression for CloudWatch Logs which eliminates the need for additional services or post-processing.
57
What encryption do Kinesis Data Streams and Firehose offer?
Server-side encryption using customer managed keys. Data is encrypted before writing to storage layer and decrypted after retrieval.
58
What permissions does Amazon Connect need to send data via Kinesis?
Amazon Connect instances must have permissions to use customer managed keys for encryption.
59
What role does Amazon Connect use for Kinesis authorization?
Uses the service-linked role of the instance for authorization. This role needs permission to use the AWS KMS key that encrypts the data stream.
60
What are the key requirements for near real-time data processing solutions?
Must follow design patterns that meet scalability and reliability requirements. Microservice-based architectures provide long-term scalability and flexibility.
61
Why implement a fan-out design pattern with Amazon Connect?
Allows concurrent streaming of Amazon Connect data to multiple downstream applications simultaneously. Enables parallel processing by independent systems.