aws_resource_deployment Flashcards

(30 cards)

1
Q

Bot (JSON file)

A

Lex Bot configuration. Deploy in Amazon Lex Console under Bots. Creates the natural language intents and utterances that contact flows reference.

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

ivr-router (Python file)

A

Lambda function code. Deploy in AWS Lambda Console. Create new function | paste code | configure layers and environment variables.

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

prompts (JSON file)

A

Prompt configuration file. Audio prompts upload to Amazon Connect Console under Prompts. Text-to-speech configs may be stored in S3 and referenced by Lambda.

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

prompts-api-uat (JavaScript file)

A

Lambda function for prompt management. Deploy in AWS Lambda Console as Node.js runtime. Handles CRUD operations for prompts.

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

routing-ddb-example-item (JSON file)

A

DynamoDB table structure. Deploy in DynamoDB Console. Create table first then use this JSON as template for items.

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

Contact Flow JSON files

A

Import directly into Amazon Connect Console. Go to Flows | Create flow | Import (top menu) | select JSON file.

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

Where do Lambdas get deployed?

A

AWS Lambda Console. Create function | select runtime (Python or Node.js) | paste code | configure timeout | memory | environment variables | and layers.

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

Where do Lex Bots get deployed?

A

Amazon Lex Console. Create bot | define intents | add utterances | build and publish. Then reference bot in contact flow Get customer input blocks.

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

Where do DynamoDB tables get deployed?

A

DynamoDB Console. Create table | define partition key and sort key | add items using JSON structure from example files.

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

Where do prompts get deployed?

A

Amazon Connect Console under Prompts for audio files. Or S3 bucket for dynamic prompt content referenced by Lambda.

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

Where do contact flows get deployed?

A

Amazon Connect Console under Flows. Import JSON files or create manually in flow designer.

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

What is the relationship between Lambda and Contact Flow?

A

Contact flow invokes Lambda using Invoke AWS Lambda block. Lambda returns attributes that contact flow uses for routing decisions.

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

What is the relationship between Lex and Contact Flow?

A

Contact flow uses Get customer input block with Lex bot. Lex interprets caller speech and returns intent to contact flow for branching.

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

What is the relationship between DynamoDB and Lambda?

A

Lambda queries DynamoDB tables to retrieve routing configurations | business hours | queue assignments. Returns data to contact flow as attributes.

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

What is the relationship between DynamoDB and Contact Flow?

A

No direct relationship. Contact flows cannot query DynamoDB directly. Must use Lambda as intermediary to query and return data.

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

Why did Bot file error when importing to Flows?

A

Bot is a Lex configuration not a contact flow. Different resource type that deploys to Amazon Lex Console not Amazon Connect Flows.

17
Q

Why did ivr-router error when importing to Flows?

A

ivr-router is Python Lambda code not a contact flow JSON. Deploys to AWS Lambda Console not Amazon Connect Flows.

18
Q

Why did routing-ddb-example-item error when importing to Flows?

A

DynamoDB item structure not a contact flow. Used to create table items in DynamoDB Console not imported to Amazon Connect.

19
Q

Why did prompts-api-uat error when importing to Flows?

A

JavaScript Lambda code not a contact flow. Deploys to AWS Lambda Console as Node.js function.

20
Q

What AWS services make up a production Amazon Connect solution?

A

Amazon Connect for flows and routing | AWS Lambda for business logic | Amazon Lex for NLP | DynamoDB for configuration data | S3 for prompts and storage | CloudWatch for logging.

21
Q

What order should you deploy resources?

A

1 DynamoDB tables first | 2 Lambda functions second | 3 Lex bots third | 4 Contact flows last. Flows reference the other resources so they must exist first.

22
Q

Why deploy DynamoDB first?

A

Lambda functions query DynamoDB tables. Tables must exist before Lambda can be tested or contact flows can work properly.

23
Q

Why deploy Lambda before contact flows?

A

Contact flows invoke Lambda functions by ARN. Lambda must exist and be published before contact flow can reference it.

24
Q

Why deploy Lex before contact flows?

A

Contact flows reference Lex bot by name and alias. Bot must be built and published before contact flow can use it.

25
What happens if you publish a contact flow before Lambda exists?
Flow will error when it tries to invoke Lambda. The Invoke Lambda block will fail and route to error branch.
26
What happens if you publish a contact flow before Lex bot exists?
Flow will error when it tries to get customer input from Lex. The Get customer input block will fail.
27
What happens if Lambda runs before DynamoDB table exists?
Lambda will throw an error when trying to query non-existent table. Returns error to contact flow which routes to error branch.
28
Saved vs Published status in Flows console?
Saved means changes stored but not live. Published means flow is active in production. Your imported flows show Saved so they are not live yet.
29
What must you do after importing contact flows?
Update resource references like Lambda ARNs | Lex bot names | queue names | prompt names. Then publish to make live.
30
Why do imported flows need updates before publishing?
Flows reference resources from original environment. Your instance has different ARNs | queue names | and resource IDs that must be updated.