amazon_connect_flashcards (1)

(59 cards)

1
Q

What is Terraform used for in Amazon Connect environments?

A

Infrastructure as Code (IaC) tool that deploys and manages AWS resources through code instead of manual console work. Manages Lambdas | DynamoDB tables | IAM roles | dashboards | and all other infrastructure.

Emphasize that Terraform prevents configuration drift (manual changes that don’t match documentation), enables infrastructure versioning through Git, and makes it possible to spin up identical environments quickly - critical for scaling contact center operations.​​​​​​​​​​​​​​​​

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

How are Lambda changes deployed in enterprise environments?

A

Through Git repositories and CI/CD pipelines. Create a feature branch | commit changes | run the pipeline which deploys via Terraform. Should NOT make changes directly in the AWS console.

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

What is AWS CDK?

A

Cloud Development Kit - an alternative to Terraform for Infrastructure as Code. Know what it is even if you primarily use Terraform so you can reference it in interviews.

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

How would you describe Terraform experience in an interview?

A

“I took it upon myself to automate console tasks by working with DevOps to create Terraform configurations for pipeline deployments. I know enough to read Terraform files | understand them | and make small changes when required.”

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

What does a typical Terraform deployment pipeline look like?

A

Script runs | generates Terraform configuration | pipeline executes | grabs config and deploys to AWS environment.

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

Why is Terraform knowledge a big plus for Amazon Connect roles?

A

You don’t need to be a full Terraform developer but knowing basic definitions and concepts shows you understand enterprise-level deployment practices and automation.

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

What is a static reference in an Amazon Connect contact flow?

A

A hardcoded reference to a specific resource like a queue name | Lambda ARN | or prompt that is explicitly set in the flow block configuration.

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

What is a dynamic reference in an Amazon Connect contact flow?

A

A reference that pulls its value from an attribute or variable at runtime. Allows the same flow block to point to different resources based on context using syntax like $.Attributes.QueueName instead of hardcoding.

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

Why would a flow block show No Match in the console?

A

When using dynamic references the referenced attribute or variable doesn’t resolve to a valid resource. The actual resource is determined at runtime not design time.

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

What is the advantage of dynamic references over static?

A

Flexibility and reusability. One contact flow can handle multiple scenarios without duplicating flows. Change behavior by updating attributes rather than modifying the flow itself.

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

Where do dynamic reference values typically come from?

A

Contact attributes set earlier in the flow | Lambda function returns | DynamoDB lookups | or external system integrations.

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

What are the two architecture options when creating a Lambda?

A

x86_64 and ARM64.

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

Which Lambda architecture should you typically choose and why?

A

x86_64 because it has better compatibility with machine learning libraries and dependencies. ARM64 can work but x86 is the safer default.

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

What is Amazon Connect’s default timeout for Lambda invocations?

A

8 seconds.

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

What should you set your Lambda timeout to when used with Amazon Connect?

A

8 seconds or less to match Amazon Connect’s timeout limit.

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

What happens if your Lambda exceeds the Amazon Connect timeout?

A

The contact flow hits the error branch even if the Lambda would eventually complete successfully. The caller experiences a failure.

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

Why is the 8 second timeout important for Lambda design?

A

You must design efficient code that completes within this window. If operations take longer you need to optimize or consider alternative architectures like async processing.

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

Does increasing Lambda memory increase execution speed?

A

Yes and No. AWS increases CPU power proportionally with memory so more memory equals more speed. But if your Lambda only needs 100MB setting it to 10GB won’t make it faster because it’s not memory bottlenecked.

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

How do you know if your Lambda needs more memory?

A

Check CloudWatch logs which show actual memory used per invocation. If usage consistently hits your allocated limit like using 128MB when set to 128MB then increase it.

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

What is the recommended approach for scaling Lambda memory?

A

Start low | monitor usage | scale incrementally from 128MB to 256MB to 512MB and so on. Only increase when the Lambda is hitting its memory ceiling.

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

How does Lambda memory affect billing?

A

You are charged for ALLOCATED memory not just what is used. Setting 10GB when you only need 100MB wastes money on every invocation.

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

What is Lambda ephemeral storage?

A

Temporary disk storage like RAM available during execution. Used for processing files or temporary data that doesn’t need to persist.

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

What is a VPC?

A

Virtual Private Cloud. A virtual network in AWS that isolates your resources similar to a local on-premises network but in the cloud.

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

Should Lambdas be in a VPC in production?

A

Yes always use VPC in production for an extra layer of security. It’s not hard to set up and adds significant protection.

25
What security controls does a VPC provide for Lambdas?
Inbound and outbound rules that let you whitelist or block IP addresses and allow or block specific protocols.
26
What are inbound rules in a VPC security group?
Rules that control incoming traffic TO your resources. Defines what external sources can connect to your Lambda or other resources.
27
What are outbound rules in a VPC security group?
Rules that control outgoing traffic FROM your resources. Defines what external destinations your Lambda or resources can connect to.
28
Why is VPC configuration a security best practice?
Creates network isolation | restricts unauthorized access | controls data flow | provides additional security layer beyond IAM permissions.
29
Where should you store configuration values like API keys and endpoints in Lambda?
Environment variables. NEVER hardcode anything in the code itself.
30
What are Lambda Layers used for?
Storing dependencies and libraries. Always use layers for imports instead of bundling dependencies directly in your code package.
31
What is a Lambda Alias?
A pointer to a specific Lambda version. You can update the alias to point to new versions without changing the ARN that other services reference.
32
Why are Lambda Aliases critical in production?
If 1000 things reference your Lambda and you update the code you only update the alias once. Without aliases you would have to update all 1000 references to point to the new version.
33
What is the typical alias strategy?
Create a production alias that points to either a specific version or latest. When you deploy new code update what the alias points to.
34
What are Lambda Versions?
Immutable snapshots of your Lambda code and configuration. Create new versions when deploying changes and aliases point to these versions.
35
What are Tags used for in AWS resources?
Cost management and organization. Tag resources by department | project | or LOB to track spending and manage resources across large accounts.
36
What is the difference between Save and Publish in contact flows?
Save stores your changes but doesn't affect production. Publish makes the flow live and runs validations.
37
What validations occur when you Publish a contact flow?
Amazon Connect checks for missing resources like queues | prompts | and Lambdas as well as invalid configurations. It won't catch everything but catches obvious errors.
38
What is the difference between a Module and a Contact Flow?
Modules are reusable components or puzzle pieces that can be inserted into multiple contact flows. They encapsulate functionality that is hidden from the main flow view.
39
Can you import a Module as a Contact Flow?
No types must match. You can only import a module as a module and a contact flow as a contact flow.
40
What paths should every contact flow block have?
An error or failure path and a success path. Always handle both scenarios.
41
How do you share contact flows between instances?
Export as JSON file then import into the new instance. Resolve any resource references like queues | Lambdas | and prompts that don't exist in the target instance.
42
What should you do BEFORE writing Lambda code for API integrations?
Test everything in Postman first. Create a collection | set up headers and authentication | verify status 200 OK responses | confirm endpoints and data structures work correctly.
43
Why test APIs in Postman before coding?
Eliminates debugging API issues later. When you know the request works you only need to focus on translating it to Lambda code not troubleshooting connectivity | auth | or endpoint issues.
44
What is the quick iteration workflow for Lambda development in the console?
Write code | Deploy | Run saved test event | Check output | Make changes | Repeat. Mention that saved test events are crucial for consistency across iterations, the console shows execution duration and memory usage immediately after each test, and this workflow is perfect for prototyping but production code should still go through proper CI/CD pipelines.​​​​​​​​​​​​​​​​
45
What is a Lambda test event?
A saved JSON payload that simulates the input your Lambda would receive. Allows quick testing without triggering from actual sources.
46
How do you download a Lambda for sharing or backup?
In the Lambda console go to Actions then Download then Zip file. This includes code and configuration.
47
How do you upload a Lambda from a zip file?
Create new function then Actions then Upload from then Zip file. All code and settings from the original are preserved.
48
What is an IAM Role?
A container that holds policy documents defining what actions AWS resources can perform.
49
What are the components of an IAM Policy Statement?
SID which is the unique identifier | Effect which is allow or deny | Action which is the API request | Resource which is the ARN of the AWS resource.
50
What is a Trust Policy on a role?
Defines WHO can assume the role. Specifies which services | users | or accounts are allowed to use the permissions in that role.
51
What is a Service Role?
An AWS managed role with predefined permissions for specific services like the basic Lambda execution role with CloudWatch logging permissions.
52
Describe the BambooHR automation project for interviews.
Client wanted to automate agent creation when new employees were added to BambooHR. Created a webhook in BambooHR that sends data to a Lambda function. Lambda stores department info in DynamoDB which maps to security profiles and routing profiles. When a user is created with a department set the Lambda automatically provisions the new agent with correct configurations.
53
What is the flow for the BambooHR automation?
BambooHR webhook triggers Lambda | Lambda queries DynamoDB for department to security profile and routing profile mapping | Lambda auto-creates agent in Amazon Connect with correct configurations.
54
How do you frame your experience level for interviews?
2 years contact center with Cisco and WebEx plus 2 years Amazon Connect automation equals 4 years contact center experience with recent focus on Amazon Connect development and automation.
55
What is a Function URL in Lambda?
An HTTPS endpoint that directly invokes your Lambda. An alternative way to trigger it without API Gateway.
56
What is Asynchronous Invocation?
Lambda execution mode where the caller doesn't wait for a response. Useful for long-running tasks that don't need immediate results.
57
What is Lambda Concurrency?
How many instances of your Lambda can run simultaneously. Related to cold starts which are new instances versus warm starts which are reused instances.
58
What is Amazon Connect Customer Profiles?
Built-in CRM functionality in Amazon Connect. Rarely used because most enterprises already have Salesforce or other CRMs.
59
What determines SAML 2.0 configuration complexity?
It is highly specific to each identity provider like Azure or Okta. There is no universal setup so you follow documentation for your specific provider.