If you are preparing for an Amazon Connect architecture interview, this article covers everything you need. Amazon Connect architecture is one of the most important topics asked in AWS contact center roles โ from solutions architect positions to senior developer and DevOps engineer interviews. This guide gives you 50 carefully researched questions and answers, including 15 scenario-based questions, 5 comparison questions against on-premises contact centers, 15 deep-dive architecture and workload layer questions, and 15 additional Amazon Connect architecture questions. All answers are written in plain English and sourced from the official AWS Amazon Connect Administrator Guide.
Section 1: Amazon Connect Architecture and Workload Layers
These 15 questions go deep into how Amazon Connect is built, how its layers work, and how different AWS services connect to form a complete contact center platform.
Q1. What is Amazon Connect and what makes its architecture different from a traditional contact center?
Amazon Connect is a cloud-native, self-service contact center platform offered by AWS. Unlike traditional on-premises contact centers that require separate hardware and software vendors for telephony, IVR, ACD, recording, and reporting, Amazon Connect combines all of these capabilities into a single managed cloud service.
The key architectural difference is that Amazon Connect is built on the same infrastructure Amazon uses for its own customer operations. It scales automatically from 10 to 10,000 or more agents without requiring you to configure or manage any underlying telephony infrastructure. Updates and new features are delivered with no downtime. The platform handles capacity, resiliency, and scaling as part of the managed service.
Traditional contact centers require your IT team to manage hardware refresh cycles, software licensing, version compatibility, and multi-vendor integrations. Amazon Connect replaces all of that with a pay-per-use model where you only pay for what you actually use โ per minute for voice contacts and per message for chat.
Q2. What are the five workload layers of Amazon Connect architecture?
According to the official AWS documentation, Amazon Connect workloads are organized into five distinct layers. Understanding these layers is critical for any architecture interview.
Layer 1 โ Telephony: This is the first entry point. When a customer calls a phone number claimed in or ported to your Amazon Connect instance, the telephony layer receives the call. Amazon Connect is integrated with multiple telephony providers with redundant dedicated network paths to three or more Availability Zones in every supported region. Workloads are load balanced across a fleet of telephony media servers. If a data center or Availability Zone fails, that endpoint is taken out of rotation automatically, so service continues without interruption.
Layer 2 โ Amazon Connect Interface and API: This is the access point for agents, supervisors, and administrators. It includes the Amazon Connect admin website, the Contact Control Panel (CCP), the Amazon Connect Streams API for custom CCP development, Single Sign-On (SSO) integration, and any API Gateway endpoints that support chat routing. Everything your team uses in a browser or through an API falls in this layer.
Layer 3 โ Flows and IVR: The contact flow is the brain of the platform. After a customer contacts your Amazon Connect instance, a flow controls the entire interaction. Flows can invoke Lambda functions, call Amazon Lex for natural language understanding, play Text-to-Speech prompts via Amazon Polly, stream data to Kinesis, access resources inside your VPC, call Amazon Pinpoint for SMS, and perform database lookups in DynamoDB. A single flow can serve both voice and chat contacts.
Layer 4 โ Agent Workstation: This layer is NOT managed by AWS. It includes the physical hardware your agents use, their headsets, network connections, VDI environments, operating systems, browsers, and ISP or AWS Direct Connect paths. This layer is the most common source of audio quality issues and must be carefully monitored by your operations team.
Layer 5 โ Metrics and Reporting: This layer captures, stores, and visualizes all contact center data. It includes call recordings stored in Amazon S3, Contact Trace Records (CTRs) exported via Kinesis, real-time and historical metrics from the Amazon Connect dashboards, CloudWatch metrics and alarms, and custom reporting solutions built with Amazon QuickSight, OpenSearch, or Power BI.
Q3. How does the telephony layer in Amazon Connect provide high availability?
The telephony layer is built with multiple layers of redundancy. Amazon Connect is integrated with multiple telephony providers and uses redundant dedicated network paths to three or more Availability Zones in every AWS region where the service is offered.
The telephony traffic is load balanced across a fleet of telephony media servers. This means no single server failure can take down your contact center. If any particular component, data center, or entire Availability Zone experiences a failure, the affected endpoint is automatically taken out of rotation and traffic is routed to healthy endpoints.
For US toll-free numbers specifically, Amazon Connect allows you to route traffic across multiple carriers in an active-active configuration at no extra charge. For international numbers, AWS recommends claiming or porting numbers across multiple telephony providers to maximize resilience. For high-concurrency DID numbers, the general recommendation is to configure 100 sessions per DID.
Q4. What is the Amazon Connect Interface and API layer and what does it include?
The Amazon Connect Interface and API layer is the access point that agents, supervisors, and administrators use to interact with the platform. It is responsible for the following:
- Single Sign-On (SSO) integration for user authentication using SAML 2.0 or AWS Directory Service
- The Amazon Connect admin website where you configure queues, routing profiles, flows, users, and reporting
- Custom agent desktop applications built using the Amazon Connect Streams API, which can add custom features or integrate with CRM systems like Salesforce
- The Amazon Connect contact-facing chat interface and the web server hosting the Amazon Connect Chat API
- Any API Gateway endpoints and Lambda functions needed to route chat contacts to Amazon Connect
- The Contact Control Panel (CCP), which is the default agent interface for handling voice, chat, and task contacts
Any tool, browser, or API call that an agent, manager, or administrator uses to configure or manage Amazon Connect is considered part of the Interface and API layer.
Q5. Explain the Flow and IVR layer in Amazon Connect. What can flows do?
The Flow and IVR layer is described in the AWS documentation as the primary architectural vehicle for Amazon Connect. It is the first line of communication with every customer who contacts your center.
A contact flow is a visual, drag-and-drop logic builder that controls everything that happens from the moment a contact arrives until they are connected to an agent or disconnected. Flows can:
- Dynamically invoke AWS Lambda functions to make API calls to external systems like Salesforce, DynamoDB, or your own backend services
- Send real-time IVR and voice data to third-party endpoints through Amazon Kinesis Video Streams
- Access resources inside your VPC or behind your VPN using Lambda as a bridge
- Call Amazon Lex directly for Natural Language Understanding (NLU) and Automatic Speech Recognition (ASR)
- Play dynamic, natural-sounding Text-to-Speech prompts using Amazon Polly with SSML and Neural TTS voices
- Send SMS messages to customers using Amazon Pinpoint
- Perform data dips to DynamoDB for customer lookup or real-time data
- Set and read contact attributes to drive routing decisions and personalize experiences
- Assign contacts to queues and routing profiles based on business logic
A single contact flow can be assigned to multiple phone numbers, and the same flow works for both voice and chat contacts, making it the single most powerful configuration tool in the Amazon Connect platform.
Q6. What is the Agent Workstation layer and why is it important for architecture planning?
The agent workstation layer is everything between the agent and Amazon Connect that AWS does NOT manage. This includes:
- The agent’s computer hardware (CPU, RAM, network card)
- The agent’s headset or handset
- The local area network (LAN) and wide area network (WAN)
- The agent’s ISP or AWS Direct Connect path to AWS
- The VDI environment if agents use virtual desktops (Citrix, Amazon WorkSpaces)
- The operating system and web browser (Amazon Connect supports Chrome and Firefox)
- Endpoint security software (firewalls, VPNs, antivirus)
This layer is important in architecture planning because it is the most common source of voice quality problems in Amazon Connect deployments. Without proper monitoring at the LAN, WAN, and workstation levels, it is very difficult to determine whether a call quality issue originates from the agent’s workstation, the network path, the ISP, AWS infrastructure, or the customer’s side.
AWS recommends running the Amazon Connect Connectivity Check Tool on the same network as your agents before go-live to verify that the environment meets minimum requirements. You should also set up monitoring at every hop of the agent’s network path to build diagnostic runbooks for your support team.
Q7. What is the Metrics and Reporting layer in Amazon Connect?
The Metrics and Reporting layer is responsible for capturing, processing, storing, and visualizing all contact center data. It includes both native Amazon Connect components and AWS services you configure to extend reporting capability.
Native components include:
- Real-time metrics dashboards in the Amazon Connect admin console, showing live queue depths and agent states
- Historical metrics reports covering handle time, service level, abandonment rate, and more
- Contact Lens conversational analytics for automatic transcription, sentiment scoring, and keyword detection
- CloudWatch metrics for operational alerting (concurrent calls, throttled calls, flow errors)
Extended reporting components include:
- Amazon S3 for storing call recordings and scheduled reports
- Amazon Kinesis for streaming Contact Trace Records (CTRs) and agent events to external systems
- Amazon Redshift or DynamoDB for storing historical CTR data at scale
- Amazon OpenSearch Service and Kibana for real-time dashboards
- Amazon QuickSight for business intelligence and executive reporting
- CloudWatch Alarms and SNS for real-time operational alerts to supervisors and administrators
Q8. How does Amazon Connect handle inbound call routing at an architectural level?
When a customer dials a phone number claimed in or ported to your Amazon Connect instance, the following sequence occurs:
- The customer’s call travels from their carrier through the PSTN and into the Amazon Connect telephony entry point associated with their dialed number.
- Amazon Connect identifies which contact flow is associated with that phone number and invokes that flow.
- The flow executes its logic: playing prompts, collecting input via DTMF or Lex, performing Lambda data lookups, checking business hours, and evaluating contact attributes.
- Based on the flow logic, the contact is assigned to a queue using a Set Working Queue block.
- The Transfer to Queue block places the contact into the queue where it waits until an available agent accepts it.
- Amazon Connect evaluates agents whose routing profiles include that queue, prioritizes by routing profile priority and queue delay settings, and routes to the available agent who has been waiting the longest.
- When an agent accepts the contact (manually or via auto-accept), Amazon Connect connects the call.
- After the call ends, Contact Trace Records are generated and the contact data flows to S3, Kinesis, and CloudWatch for reporting.
Q9. How does Amazon Connect handle chat contacts architecturally, and how does it differ from voice?
Chat contacts in Amazon Connect enter through a different channel but can use the same contact flows as voice. This is one of the platform’s key architectural advantages.
When a customer initiates a chat from a browser or mobile app, the request hits an Amazon API Gateway endpoint that calls the Amazon Connect Chat API (StartChatContact). This invokes the designated contact flow, which can be the same flow used for voice contacts. The flow detects the channel type and branches accordingly โ for example, playing a text greeting for chat instead of a Polly TTS prompt for voice.
The main architectural differences between voice and chat are:
- Voice uses WebRTC for real-time audio transport between the agent’s softphone and Amazon Connect. Chat uses WebSocket connections managed by the Amazon Connect ChatJS library.
- Chat supports persistent sessions that can last across multiple interactions, while voice calls have a clear start and end.
- Chat supports asynchronous interactions where customers and agents can respond over a longer period, unlike the real-time nature of voice.
- Chat contacts can be handled concurrently (an agent can handle multiple chats simultaneously), while voice is always one concurrent call per agent.
- Chat transcripts are stored in S3 automatically, while voice recordings require explicit recording configuration in the flow.
Q10. What is Amazon Connect Global Resiliency and how does it work architecturally?
Amazon Connect Global Resiliency is a feature that allows you to distribute telephony traffic across two Amazon Connect instances in different AWS regions. This provides multi-region redundancy for voice contacts.
Here is how it works architecturally:
- You create a primary Amazon Connect instance in one AWS region (for example, us-east-1) and a replica instance in another region (for example, us-west-2).
- You claim phone numbers to both instances and configure traffic distribution rules โ for example, 100% to primary during normal operation, switching to 100% replica in a failover.
- If the primary region experiences a failure, you can update the traffic distribution to route all calls to the replica instance.
- Contact flows, queues, routing profiles, and other configurations must be maintained in sync between the two instances. This can be managed via the Amazon Connect API and CloudFormation.
- Global Resiliency does not provide automatic failover. You must have a runbook and process to change traffic distribution when a regional failure occurs.
This feature is essential for enterprise contact centers where even a few minutes of downtime can result in significant business impact and revenue loss.
Q11. How does WebRTC fit into the Amazon Connect architecture?
WebRTC (Web Real-Time Communication) is the technology that Amazon Connect uses to deliver voice audio to agents through their web browser without requiring any additional software or plugins.
When an agent logs into the Contact Control Panel (CCP), the browser establishes a WebRTC connection to Amazon Connect. When a voice contact is accepted, the audio stream flows over this WebRTC connection in real time. This is called the softphone model โ the agent’s browser acts as a software-based telephone.
Key WebRTC architectural points for interviews:
- WebRTC uses UDP for media transport and requires specific network ports to be open (UDP 3478 for STUN, UDP 443 for audio streaming)
- WebRTC signaling traffic (call setup) uses HTTPS and goes to Amazon Connect endpoints
- WebRTC media traffic (actual audio) uses Amazon Connect media servers, not general internet infrastructure
- Network firewalls, VPNs, and proxies that inspect or block UDP traffic are the most common source of CCP audio issues
- In VDI environments, special handling is required to redirect audio from the VDI server to the agent’s local device using the Amazon Connect RTC JavaScript library
- Agents can also redirect audio from the browser softphone to a physical desk phone or mobile device using the CCP’s deskphone mode
Q12. What are the different deployment models for Amazon Connect?
AWS documentation describes several deployment approaches for Amazon Connect:
Traditional (Full Cloud): The entire contact center runs on Amazon Connect. All agents use the CCP softphone or a custom CCP. All IVR logic is in Amazon Connect flows. All routing is done by Amazon Connect queues. This is the simplest and recommended model for greenfield deployments.
Inbound-Only: Amazon Connect handles all inbound customer contacts. Outbound dialing may still be on the legacy platform temporarily. Used as a first phase of migration.
Outbound-Only: Amazon Connect handles programmatic outbound dialing using the StartOutboundVoiceContact API or outbound campaigns. The inbound IVR remains on the legacy platform temporarily.
Hybrid: Amazon Connect operates alongside a legacy contact center platform. Contacts can be transferred between the two systems. This requires claiming phone numbers as unique identifiers and using an intermediary database (usually DynamoDB) to pass contact data between the platforms. Hybrid is typically used as a temporary migration state because of its added complexity and cost.
IVR-Only: Amazon Connect drives the entire IVR experience including self-service and routing decisions. If a live agent is needed, the contact is transferred out to the legacy contact center platform. Amazon Connect acts as an intelligent front-end to the existing infrastructure.
Agent-Only: The legacy contact center IVR handles initial self-service and routing. If a live agent is needed, the contact is transferred into Amazon Connect for agent handling. Amazon Connect acts as the agent platform while the legacy system acts as the front-end.
Q13. How does Amazon Connect implement security at the architectural level?
Amazon Connect security is implemented across multiple layers:
Identity and Access Management: Amazon Connect integrates with AWS IAM for API-level access control. For agent and administrator access, it supports three identity options: Amazon Connect internal identity (managed directly in Connect), AWS Directory Service (using an existing LDAP or Microsoft Active Directory), and SAML 2.0 federation (enabling SSO with identity providers like Okta, Azure AD, or Ping Identity). Once you choose an identity option at instance creation time, you cannot change it without recreating the instance.
Data Encryption: All data in transit is encrypted using TLS 1.2 or higher. Data at rest, including call recordings in S3 and customer profile data, can be encrypted using AWS KMS customer-managed keys (CMKs). S3 Object Lock can be configured for immutable call recordings to meet compliance requirements.
Network Security: Amazon Connect supports VPC endpoints (AWS PrivateLink) for API calls, keeping traffic on the AWS network without traversing the public internet. Lambda functions that access internal systems can run inside a VPC with security groups controlling outbound access.
Security Profiles: Within Amazon Connect, security profiles control what each user can see and do. Granular permissions include viewing queues, accessing recordings, managing users, editing flows, and running reports. Tag-based access control allows BU-level isolation within a shared instance.
Contact Lens Redaction: Contact Lens can automatically detect and redact sensitive information such as credit card numbers from call transcripts, protecting PII in stored recordings.
Q14. How does Amazon Connect integrate with AWS Lambda in its architecture?
AWS Lambda is the primary integration mechanism that extends Amazon Connect beyond its native capabilities. Lambda functions are invoked directly from contact flows using the Invoke Lambda Function block.
Architectural characteristics of Lambda integration:
- Lambda functions invoked from contact flows have a maximum timeout of 8 seconds. If the function does not respond in time, the flow takes the Error branch.
- Lambda must be added to the Amazon Connect instance configuration before it can be used in flows. This creates a trust relationship between the Connect service and the Lambda function.
- Lambda can return key-value pairs to the flow, which are stored as contact attributes and can drive routing decisions or personalize prompts.
- Lambda functions used by Connect must be in the same AWS region as the Connect instance, or you must use cross-region invocation with careful latency consideration.
- Lambda functions can call DynamoDB, Salesforce APIs, S3, internal databases via VPC, or any other AWS service or external API.
- For high-volume deployments, Lambda provisioned concurrency should be configured to eliminate cold start latency on frequently invoked functions.
The typical Lambda integration pattern in an inbound call flow is: Invoke Lambda with the caller’s phone number, receive customer account data, set contact attributes with that data, and use those attributes for routing decisions and agent screen pops.
Q15. How do Contact Trace Records fit into the Amazon Connect data architecture?
Contact Trace Records (CTRs) are the core audit and analytics data objects that Amazon Connect generates for every contact. Each CTR captures a complete record of a contact’s lifecycle, including start and end times, queue assignment, agent assignment, handle time, contact attributes, and recording location.
Architecturally, CTRs flow through the following path:
- Generated by Amazon Connect at the end of every contact
- Streamed in real time to an Amazon Kinesis Data Stream if data streaming is enabled on the instance
- Kinesis Firehose can deliver CTRs to Amazon S3 for long-term storage
- From S3, CTRs can be queried using Amazon Athena, loaded into Redshift for data warehousing, or processed by Lambda functions for real-time alerts
- Contact Lens post-call analytics are appended to the CTR, adding transcript, sentiment scores, and categories
CTRs are the foundation of all historical reporting in Amazon Connect. The SearchContacts API and DescribeContact API allow programmatic access to CTR data. The Amazon Connect Analytics Data Lake is a managed service that makes CTRs available for direct SQL query using Athena without the need to build your own Kinesis pipeline.
Section 2: Amazon Connect vs On-Premises Contact Center Comparison
These 5 questions compare Amazon Connect architecture with traditional on-premises contact center solutions on key dimensions.
Q16. How does Amazon Connect compare to an on-premises contact center in terms of infrastructure and maintenance?
| Dimension | Amazon Connect (Cloud) | On-Premises Contact Center |
| Infrastructure | Fully managed by AWS. No servers, PBX hardware, or telephony equipment to purchase or maintain. | Requires physical servers, PBX equipment, ACD systems, IVR servers, and recording hardware. Multiple data center locations common. |
| Maintenance | AWS handles all patching, upgrades, and capacity. Zero downtime updates. | IT team responsible for hardware refresh cycles, software updates, version compatibility, and planned maintenance windows. |
| Scaling | Scale from 10 to 10,000+ agents in minutes by adjusting routing profiles and claiming phone numbers. | Requires hardware procurement, rack installation, and telephony configuration. Lead times of weeks to months. |
| Vendor Management | Single platform. AWS manages all underlying vendors. | Separate vendors for IVR, ACD, TTS, recording, reporting, CRM integration. Each with unique contracts and support processes. |
| Cost Model | Pay-per-use. No upfront capital expenditure. Per-minute voice, per-message chat pricing. | High upfront capital expenditure for hardware. Annual software licensing fees regardless of usage. |
Q17. How does disaster recovery compare between Amazon Connect and an on-premises contact center?
On-premises contact centers typically require a separate disaster recovery site with duplicate hardware, dedicated failover telephony circuits, and complex DNS or SIP routing changes to activate during an outage. Failover can take hours and often requires manual intervention by multiple teams. Maintaining a DR site essentially doubles your capital investment.
Amazon Connect dramatically simplifies disaster recovery through its native cloud architecture:
- Multi-AZ redundancy is built in. Amazon Connect automatically distributes workloads across three or more Availability Zones. A single AZ failure causes no service interruption.
- Global Resiliency allows you to configure traffic distribution across two AWS regions. Switching to the secondary region is a configuration change, not a hardware failover.
- Development and staging instances cost nothing when not in use, making it practical to maintain full replica environments for testing and failover.
- Phone number failover can be achieved by updating number routing configurations rather than coordinating with multiple telco carriers.
The RTO (Recovery Time Objective) for an on-premises DR failover is typically measured in hours. With Amazon Connect Global Resiliency, traffic distribution can be switched in minutes.
Q18. How does the agent experience differ between Amazon Connect and a traditional on-premises system?
On-premises systems typically require agents to use physical desk phones combined with separate desktop CTI (Computer Telephony Integration) software that must be installed, licensed, and maintained on each workstation. Agents often work with multiple applications simultaneously: the CTI toolbar, the CRM, and the ACD reporting tool. Updates require IT to push new software versions to every agent desktop.
Amazon Connect provides agents with:
- A browser-based Contact Control Panel (CCP) that requires no software installation โ just an up-to-date Chrome or Firefox browser
- WebRTC-based softphone audio delivered through the browser, or the option to redirect audio to a desk phone or mobile device
- A unified agent workspace where voice, chat, tasks, and email contacts are all handled in the same interface
- Real-time agent guidance from Amazon Q in Connect, surfacing relevant knowledge articles during live contacts
- Instant updates โ when AWS releases a CCP update, agents receive it automatically without any IT deployment
- Remote work ready โ any agent with a decent internet connection can work from home without a VPN or special hardware
Q19. How does reporting and analytics compare between Amazon Connect and on-premises systems?
Traditional on-premises contact centers typically rely on proprietary reporting modules with fixed report templates and limited real-time dashboards. Building a custom report often requires a specialist or a third-party BI tool. Historical data is stored in on-premises databases and may require complex ETL processes to access.
Amazon Connect offers a fundamentally different analytics architecture:
- Built-in real-time dashboards that refresh every 15 seconds, accessible from any browser
- Historical metrics available via the admin console with no additional configuration
- Contact Lens for automated transcription, sentiment analysis, and keyword categorization โ capabilities that require expensive add-on vendors in on-premises environments
- Contact Trace Records (CTRs) streamed via Kinesis to S3, Redshift, or Athena, enabling custom SQL queries across millions of records
- Amazon QuickSight, OpenSearch, and Power BI integrations for enterprise-grade BI dashboards
- GetMetricDataV2 API for programmatic metric retrieval, enabling custom dashboard development
The Amazon Connect Analytics Data Lake is a fully managed service that makes all CTR data available for Athena queries without requiring you to build your own data pipeline โ a capability that takes months to build for an on-premises system.
Q20. How does the cost model of Amazon Connect compare to on-premises contact centers?
On-premises contact centers require significant upfront capital investment (CapEx) in hardware, software licenses, and data center infrastructure. You pay for peak capacity even during low-volume periods. Annual support and maintenance contracts add ongoing costs regardless of actual usage. Major platform upgrades often require expensive professional services engagements.
Amazon Connect uses a pay-as-you-go model:
- Voice: Charged per minute of usage (inbound and outbound rates vary by region and country)
- Chat: Charged per message
- Tasks: Charged per task
- Email: Charged per email
- Amazon Q in Connect: Charged per active agent per month
- Contact Lens: Charged per minute analyzed
- No minimum monthly fees or upfront commitments required for the base service
The operational savings come from eliminating hardware maintenance, reducing IT headcount for platform management, and scaling costs proportionally with actual usage. Development and test environments in Amazon Connect cost nothing when idle, removing the expense of maintaining separate DR and test hardware. Most organizations find that Amazon Connect becomes cost-effective for contact centers with more than 20-30 agents when total cost of ownership (TCO) is compared over a 3-year period.
Section 3: Additional Amazon Connect Architecture Questions
These 15 questions cover important architecture topics including security, integrations, routing design, and operational patterns.
Q21. What identity management options does Amazon Connect support and how do you choose the right one?
Amazon Connect supports three identity management options, and the choice must be made at instance creation time because it cannot be changed afterward without recreating the instance.
Option 1 โ Amazon Connect-managed identity: User accounts are created and managed directly in the Amazon Connect admin console. Best for small deployments or proof-of-concept projects with no enterprise identity requirements.
Option 2 โ AWS Directory Service: Connect to an existing AWS Managed Microsoft AD or Simple AD directory. Agent accounts are managed in the directory and users sign in with their directory credentials. Best for organizations already using AWS Directory Service.
Option 3 โ SAML 2.0 federation (SSO): Integrate with an external identity provider such as Okta, Azure Active Directory, Ping Identity, or any SAML 2.0-compliant IdP. Agents authenticate to the IdP first and are then issued a SAML assertion that grants them access to Amazon Connect. This enables single sign-on with the rest of the organization’s applications. Best for enterprise deployments where agents already have corporate credentials.
For most enterprise deployments, SAML 2.0 federation is the recommended approach because it enables SSO, centralizes identity governance, and supports MFA enforcement at the IdP level.
Also Check – Amazon Connect all type of interview Questions and Answers
Q22. What is a hybrid contact center architecture in Amazon Connect and when is it used?
A hybrid architecture allows Amazon Connect and a legacy on-premises contact center platform to operate simultaneously and exchange contacts between each other. It is used during phased migrations when not all business units or functions can move to Amazon Connect at the same time.
Hybrid architectures require two key components:
First, a pool of phone numbers claimed in Amazon Connect that are used as unique identifiers for cross-platform transfers. When a transfer is needed to the legacy platform, a Lambda function selects an available number from this pool, flags it as in-use in a DynamoDB table, and passes the contact data (customer name, account number, prior interaction data) into that table. The contact is transferred to the legacy platform using this unique number as the identifier.
Second, an intermediary database (usually DynamoDB) that both Amazon Connect and the legacy platform can read from and write to. The legacy platform queries this database when it receives the transferred contact, retrieves the context data, routes appropriately, and then marks the phone number as available again.
Hybrid architectures add cost and complexity and are generally recommended only as a temporary migration state. The goal is always to complete the migration and eliminate the hybrid layer.
Q23. How do you design a multi-region Amazon Connect architecture for a global contact center?
Designing a global contact center architecture on Amazon Connect requires decisions across several dimensions:
Region selection: Choose AWS regions based on data sovereignty requirements, latency to your agent locations, and telephony availability in each country. Amazon Connect is not available in all AWS regions โ verify regional support before designing.
Traffic distribution: Use Amazon Connect Global Resiliency to configure a primary and replica instance across two regions. Set traffic distribution to 100% primary during normal operations with a documented runbook for switching to the replica if needed.
Phone numbers: Claim local phone numbers in each country through the relevant AWS region. Use Amazon Route 53 for DNS-based routing if you want to direct web-to-phone or chat traffic to the geographically nearest instance.
Configuration management: Maintain all contact flows, queues, routing profiles, and Lambda configurations in version-controlled code repositories. Use CloudFormation or Terraform to deploy identical configurations across all regions. This prevents configuration drift between primary and replica instances.
Data residency: CTRs, recordings, and Customer Profiles data are stored in the region where the Connect instance runs. If data must remain in specific jurisdictions, deploy a dedicated instance in the relevant region rather than routing contacts cross-region.
Monitoring: Centralize CloudWatch metrics from all regions into a single monitoring account using CloudWatch cross-account observability. Set alarms on ContactFlowFatalErrors, ThrottledCalls, and ConcurrentCallsPercentage for each regional instance.
Q24. How does Amazon Connect integrate with Salesforce at an architecture level?
The Amazon Connect and Salesforce integration has two main layers:
Agent Desktop Integration: The Amazon Connect CTI Adapter for Salesforce is a managed package that embeds the CCP directly inside the Salesforce console. When a contact arrives, the adapter automatically opens the customer’s Salesforce record in a screen pop. Agents can make and receive calls, view contact history, and log activities without leaving Salesforce. The adapter uses the Amazon Connect Streams API to listen for contact events.
Data Integration: Salesforce customer data is synchronized into Amazon Connect Customer Profiles using Amazon AppFlow with the Salesforce connector. AppFlow runs on a schedule (every 15 minutes to daily) or event-driven basis, mapping Salesforce Contact, Account, and Case objects to Customer Profile attributes.
In the inbound flow, a Lambda function retrieves the Customer Profile for the incoming caller’s phone number and sets contact attributes with account tier, case ID, and preferred language. These attributes drive routing decisions and populate the agent screen pop with context before the customer says a word.
After each contact, a Lambda triggered by the CTR Kinesis stream writes call outcome data (duration, disposition, agent notes) back to the Salesforce case record, keeping the CRM record complete.
Q25. How do you architect a skills-based routing solution in Amazon Connect?
Skills-based routing in Amazon Connect is implemented using predefined attributes and agent proficiencies. Here is the complete architecture:
Step 1 โ Define attributes and values: Create predefined attributes in the Amazon Connect console. For example, create an attribute called Language with values English, Spanish, French, Mandarin. Create another called TechTier with values Tier1, Tier2, Tier3.
Step 2 โ Assign proficiencies to agents: For each agent, assign a proficiency level (1-5) for each relevant attribute. A Tier2 Spanish-speaking agent would have Language=Spanish at level 4 and TechTier=Tier2 at level 3.
Step 3 โ Set routing criteria in the flow: In the contact flow, use contact attributes (collected from the IVR or a Lambda CRM lookup) to set routing criteria on the contact. For example, if the caller selects Spanish and their issue is a technical problem, set the routing criteria to require Language=Spanish and TechTier=Tier1.
Step 4 โ Configure step-by-step routing: Amazon Connect evaluates agents against the routing criteria. If no agent with the required proficiency levels is available, the routing criteria can be relaxed after a configured wait time (step escalation) โ for example, after 60 seconds, accept Tier2 agents as well.
This architecture enables sophisticated matching without requiring separate queues for every combination of skills, significantly reducing the number of queues you need to manage at scale.
Q26. What is the split CCP model and when would you use it?
The split CCP model is a specific deployment pattern used in Virtual Desktop Infrastructure (VDI) environments where audio cannot run through the VDI server.
In a standard CCP deployment, both call signaling (call control) and audio (the actual voice) flow through the same browser session. In a VDI environment, running audio through the VDI server adds significant latency and degrades call quality.
In the split CCP model, two separate CCP instances are created using the Amazon Connect Streams API:
First instance โ runs inside the VDI on the remote server. This instance handles call signaling (accepting calls, transferring, putting on hold, adjusting status) but has media disabled. The agent uses this instance for all call controls.
Second instance โ runs on the agent’s local machine browser outside the VDI. This instance handles only the audio (WebRTC media) and has no UI. The agent hears and speaks through this local browser session.
The two instances are synchronized via the Streams API so that signaling actions on the VDI instance are reflected in the local audio session. This eliminates VDI audio quality problems while keeping the agent application inside the corporate VDI environment.
Q27. How do you implement data retention and compliance archiving for call recordings in Amazon Connect?
Call recording architecture in Amazon Connect follows this pattern:
Recording configuration: Enable recording in the contact flow using the Set Recording and Analytics Behavior block. Recordings can be configured for agent audio only, customer audio only, or both. The recording preference set in the flow can be overridden by the agent’s supervisor using the Amazon Connect API for selective recording.
Storage in S3: All recordings are stored in the S3 bucket configured on the Amazon Connect instance. The bucket should have AES-256 or KMS encryption enabled. For compliance environments, enable S3 Object Lock with COMPLIANCE mode and a configured retention period. Object Lock prevents recordings from being deleted or modified for the retention period, even by users with S3 administrative permissions.
Access control: Apply S3 bucket policies to restrict access to recordings. Only approved IAM roles (auditors, QA managers, supervisors with explicit permission in their Connect security profile) should be able to access recordings. Enable S3 access logging to track who accessed which recording and when.
Lifecycle management: Use S3 Intelligent-Tiering or Lifecycle Policies to automatically move recordings older than 90 days to S3 Glacier for cost-effective long-term storage, while keeping recent recordings in S3 Standard for fast access.
PII redaction: If recordings contain sensitive information, configure Contact Lens to redact PII (like credit card numbers) from transcripts. Note that Contact Lens redaction applies to transcripts, not the audio file itself. For audio redaction, custom post-processing using Amazon Transcribe and audio editing Lambda functions is required.
Q28. How does Amazon Connect Kinesis integration work and what data does it stream?
Amazon Connect provides two Kinesis integration options from the instance data streaming settings:
Contact Records (CTRs) via Kinesis Data Stream or Kinesis Firehose: Every completed contact generates a CTR that is streamed in real time. The CTR contains all fields about the contact: contact ID, channel, timestamps, queue, agent, attributes, and recording location. Kinesis Firehose can deliver these directly to S3 for storage, Redshift for analytics, or OpenSearch for real-time search.
Agent Events via Kinesis Data Stream: This stream publishes real-time agent state changes โ when an agent logs in, changes their status (Available, After Contact Work, Break), accepts or ends a contact, and logs out. These events are used by custom supervisor dashboards to display live agent states without polling the API.
Contact Lens data: If Contact Lens is enabled, real-time transcript segments can be streamed via Kinesis, enabling real-time alerts (for example, detecting that a customer used the word cancel and notifying the supervisor immediately).
Kinesis Video Streams: For live audio streaming use cases (such as real-time speech analytics or voicebot audio processing), Amazon Connect can stream voice audio to Kinesis Video Streams, from which Lambda functions or SageMaker models can process the audio in real time.
Q29. How do you implement queue callback (queued callback) in Amazon Connect architecture?
Queued callback is a feature that allows a customer to hang up instead of waiting on hold and receive a return call when an agent becomes available. Here is the architectural implementation:
In the contact flow, after the customer has been placed in a queue and a threshold wait time is exceeded, play a prompt offering the callback option: ‘Press 1 to keep your place in line and receive a callback when an agent is available.’
If the customer selects the callback option, use the Set Callback Number block to capture the number to call back (defaulting to the caller’s ANI). Then use the Transfer to Queue block with the Callback option enabled, specifying the queue.
Amazon Connect manages the callback state automatically. The customer’s position in the queue is preserved. When an agent becomes available and it would have been the customer’s turn, Amazon Connect places an outbound call to the customer’s callback number and, when the customer answers, connects them to the agent.
Architectural considerations:
- Deduplicate callbacks: If the customer calls back before the callback fires, detect the duplicate ANI in the inbound flow using a Lambda that checks a DynamoDB tracking table and inform them their callback is still scheduled.
- Callback expiry: Callbacks expire after a configured period. If the customer does not answer when called back, the callback contact is typically terminated. Consider a follow-up SMS notification using Pinpoint if the callback attempt fails.
- Monitor callbacks: Track the Contacts in Queue metric which includes callbacks in queue, not just live callers.
Q30. How do you design the Amazon Connect architecture to support multiple business units?
When designing for multiple business units (BUs) within a single Amazon Connect instance, the key design decisions are:
Naming conventions: Establish a consistent naming convention before creating any resources. For example: [BU_Code]_[Department]_[Channel]_[Queue/Flow/Profile]. This makes bulk management and reporting much easier as you scale to BU3, BU4, and beyond.
Queue and routing profile segregation: Create dedicated queues and routing profiles per BU. Agents are assigned to their BU-specific routing profiles and do not receive contacts from other BUs unless explicitly configured.
Phone numbers: Assign dedicated phone numbers to each BU. A shared phone number is a source of routing conflicts.
Security profiles and tag-based access control: Tag all BU1 resources with BusinessUnit:BU1. Create security profiles that restrict users to resources with their BU tag. BU1 supervisors can only see BU1 queues in real-time metrics. BU2 administrators cannot edit BU1 contact flows.
User hierarchy: Set up a hierarchy with levels like Organization, Business Unit, Department, Team, Agent. This enables BU-level aggregation in historical reports without custom SQL queries.
Contact flows: Use shared global flows (for common IVR menus and error handling) and BU-specific flows (for business-specific logic). Reference shared flows from BU-specific flows using the Transfer to Flow block to reduce duplication.
Infrastructure as Code: Represent each BU’s resources as a CloudFormation stack or Terraform module. Provisioning a new BU becomes a parameter change, not a manual configuration exercise.
Q31. What is the Amazon Connect Analytics Data Lake and how does it simplify the reporting architecture?
The Amazon Connect Analytics Data Lake is a fully managed analytics service that automatically makes your Amazon Connect data available for SQL queries using Amazon Athena. It removes the need to build and maintain a custom Kinesis-to-S3 data pipeline for reporting.
With the Analytics Data Lake enabled on your instance, Amazon Connect automatically stores Contact Trace Records, agent event data, and Contact Lens analytics results in a managed S3 location. AWS Lake Formation manages access control to the data, and Athena provides a SQL interface for querying it.
The benefit is that you can go from a question like ‘What is the average handle time for BU1 Spanish calls last month?’ to a result in seconds using a standard SQL query against the data lake, without any data engineering setup.
Amazon QuickSight connects natively to Athena, so you can build operational dashboards directly on top of the Analytics Data Lake. This is the recommended reporting architecture for most Amazon Connect deployments because it requires the least infrastructure management.
Q32. How does Amazon Connect handle high concurrency and scaling?
Amazon Connect handles scaling automatically at the platform level, but you need to plan around service quotas:
Default service quotas: Every Amazon Connect instance has default limits on concurrent voice calls, concurrent active chats, and concurrent tasks. These quotas exist at the AWS account level. If your contact volume approaches or exceeds these limits, Amazon Connect will throttle new contacts.
Quota monitoring: Use CloudWatch metrics โ specifically ConcurrentCalls, ConcurrentCallsPercentage, and ThrottledCalls โ to monitor usage against your quotas. Set a CloudWatch Alarm when ConcurrentCallsPercentage exceeds 80% to get early warning before throttling occurs.
Quota increases: Request quota increases through the AWS Service Quotas console well in advance of anticipated high-volume events (product launches, annual campaigns, seasonal peaks).
Lambda concurrency: Lambda functions invoked by contact flows must have sufficient concurrency to handle peak call volumes. For a campaign with 1,000 concurrent calls, each invoking a Lambda function, you need at least 1,000 concurrent Lambda executions available. Set reserved concurrency on critical Lambda functions to guarantee capacity.
DynamoDB capacity: If your Lambda functions read customer data from DynamoDB, ensure DynamoDB is configured for on-demand capacity or has sufficient provisioned throughput for your expected Lambda invocation rate.
Q33. How do you implement real-time supervisor monitoring in Amazon Connect architecture?
Real-time supervisor monitoring in Amazon Connect uses the following architectural components:
Native real-time metrics: The Amazon Connect admin console provides a real-time metrics dashboard that supervisors can access from any browser. It shows queue depths, agent states, and SLA metrics refreshed every 15 seconds. Supervisors must have the Access Metrics permission in their security profile.
Silent monitoring and barge-in: Supervisors can silently listen to live agent calls using the Monitor Contact API or the Monitor Contact option in the real-time metrics dashboard. With the multi-party calling feature enabled, supervisors can barge into a call and speak to both the agent and customer simultaneously.
Custom real-time dashboard: For a large-screen supervisor wallboard, build a React application that calls GetCurrentMetricData every 30 seconds and displays queue depths, oldest contact in queue, agents available, and SLA percentages. Use WebSocket API Gateway connections to push updates from a backend Lambda rather than polling from every browser.
Agent Events Stream: Subscribe to the Kinesis Agent Events stream to get real-time agent state changes at sub-second latency. This powers supervisor dashboards that need to show exactly when each agent changed status, without polling.
CloudWatch Alarms: Set alarms on ContactsInQueue > threshold that trigger SNS notifications to the supervisor’s Slack channel or email, providing proactive alerts before the situation becomes a customer-facing problem.
Q34. How do you architect a post-contact survey in Amazon Connect?
A post-contact survey is an automated outbound call or SMS sent to the customer immediately after the contact ends, asking them to rate their experience.
Voice survey architecture:
- At the end of the agent contact flow, add a Disconnect With Goodbye block that sets a contact attribute: SurveyEnabled = true
- A Lambda function triggered by the CTR Kinesis stream detects completed contacts where SurveyEnabled = true
- The Lambda calls the StartOutboundVoiceContact API to place a call to the customer’s number, routing to a survey-specific contact flow
- The survey flow uses Amazon Lex or simple DTMF input to collect the customer’s rating (Press 1 for excellent, 2 for good, 3 for poor)
- A Lambda in the survey flow stores the response in DynamoDB with the original contact ID and timestamp
- A QuickSight dashboard visualizes survey results by agent, queue, and time period
SMS survey alternative: Instead of a voice call, the post-contact Lambda sends an SMS via Amazon Pinpoint with a survey link or a simple 1-5 reply prompt. SMS surveys have higher completion rates than voice surveys for most demographics.
Q35. What are the key architecture considerations for deploying Amazon Connect in a VDI environment?
Amazon Connect works in VDI environments but requires careful architecture planning to achieve acceptable audio quality.
The four VDI deployment models supported by Amazon Connect are:
Model 1 โ VDI client with local browser access (Split CCP): The recommended model. Call signaling runs in the VDI environment while audio runs locally using the standard CCP in the agent’s local browser. Requires the agent’s local machine to have internet access to Amazon Connect endpoints.
Model 2 โ Citrix VDI with Amazon Connect audio optimization: Uses the Amazon Connect RTC JavaScript library integrated with the Citrix Unified Communications SDK. Audio is automatically redirected from the VDI server to the agent’s local device. Requires Citrix Virtual Apps and Desktops 2106 or later.
Model 3 โ Amazon WorkSpaces with audio optimization: Uses the Amazon Connect RTC JavaScript library integrated with the Amazon WorkSpaces SDK. Audio is redirected from the WorkSpaces instance to the agent’s local endpoint. Requires Amazon WorkSpaces clients with audio redirection support.
Model 4 โ VDI without local browser access (Single CCP in VDI): The least preferred model. All traffic including audio runs through the VDI server over the remote session protocol. Requires extensive performance testing and VDI server tuning for acceptable audio quality. UDP audio must typically be enabled at the OS level.
Section 4: Scenario-Based Amazon Connect Architecture Questions
These 15 scenario-based questions test your ability to apply Amazon Connect architecture knowledge to real-world problems. These are the type of questions asked in senior architect and experienced developer interviews.
Q36. Scenario: A client runs a 500-agent contact center on an aging on-premises Avaya system. The vendor is ending support in 18 months. They want a migration plan to Amazon Connect. What would you recommend?
This is a classic end-of-life migration scenario. Here is a structured 18-month approach:
Months 1 to 3 โ Discovery and Planning: Document the current Avaya architecture โ all IVR menus, routing rules, queue configurations, agent groups, CRM integrations, and reporting requirements. Identify any proprietary Avaya features that do not have a direct Amazon Connect equivalent. Assess network readiness โ run the Amazon Connect Connectivity Check Tool from agent locations. Identify VDI or remote agent complexities. Define the migration strategy: phased by line of business, or a single cutover.
Months 3 to 6 โ Foundation Build: Set up the Amazon Connect instance with SAML SSO integration. Import phone numbers as claims or port existing DIDs. Rebuild IVR flows in Amazon Connect using the flow designer. Integrate Salesforce or CRM using the CTI Adapter. Build Lambda functions for CRM data dips. Set up CloudWatch monitoring and SNS alarms. Train a core team of administrators and flow designers.
Months 6 to 12 โ Phased Migration: Begin a hybrid architecture where some lines of business have moved to Amazon Connect while others remain on Avaya. Use DynamoDB as the intermediary database for cross-platform transfers. Migrate the lowest-risk lines of business first (for example, internal IT helpdesk). Validate performance and train agents. Use parallel running periods of at least 4 weeks per BU before removing Avaya from that BU.
Months 12 to 18 โ Full Cutover: Migrate all remaining lines of business. Port remaining phone numbers to Amazon Connect. Decommission the Avaya infrastructure. Optimize Amazon Connect configuration based on 6-12 months of production data.
Q37. Scenario: An e-commerce company expects to receive 50,000 calls on Black Friday, up from their normal 3,000 calls per day. Their Amazon Connect instance handles 3,000 calls fine but they are worried about Black Friday. What would you do?
Black Friday peak planning for Amazon Connect requires action across multiple dimensions:
Quota increases: Check the current service quotas for concurrent voice calls on the instance. Use the ConcurrentCalls CloudWatch metric to understand peak concurrency during normal days. Calculate the expected peak concurrency on Black Friday based on average call duration and expected volume. Request a quota increase through AWS Service Quotas 4-6 weeks before Black Friday to allow time for AWS to process the increase.
Lambda concurrency: For each Lambda function invoked by inbound call flows, calculate the peak concurrent executions needed and request Lambda concurrency increases accordingly. Set reserved concurrency on critical functions to prevent other workloads from consuming the concurrency pool.
DynamoDB capacity: Switch DynamoDB tables used by Lambda from provisioned to on-demand capacity mode before the peak period. This ensures automatic scaling without pre-planning exact throughput requirements.
IVR self-service: Improve IVR containment before Black Friday. Every additional percent of calls contained in the IVR reduces agent load proportionally. Enable a Lex bot for order status and return initiation in the IVR to deflect the most common Black Friday inquiries.
Callback offering: Lower the callback threshold so more callers are offered a callback instead of holding. This spreads the actual agent handling time across a longer period, reducing peak concurrent agent load.
Staffing: Use Amazon Connect Forecasting and Scheduling to model Black Friday staffing needs based on the expected volume uplift and ensure enough agents are scheduled.
Load testing: Test the architecture with a simulated peak volume using a load testing tool 2-3 weeks before Black Friday. Monitor all CloudWatch metrics and identify bottlenecks before the real event.
War room: Staff an operations team on Black Friday monitoring CloudWatch dashboards and ready to escalate to AWS Support if any service issues arise. Have the runbook ready for switching to a secondary region if the primary region experiences issues.
Q38. Scenario: Agents are reporting poor audio quality on outbound calls. Inbound calls are fine. What is the likely cause and how would you diagnose it?
The fact that inbound calls are fine while outbound calls have poor quality is a useful diagnostic clue. It narrows the issue to something specific to the outbound call path.
Most likely causes:
- Outbound caller ID configuration: An incorrectly configured caller ID (especially if it uses reserved SIP characters like semicolons or slashes in the caller ID name) can cause issues with some carriers. Review the outbound caller ID settings on the queue.
- PSTN carrier routing for outbound: Outbound calls travel through a different network path than inbound calls. The outbound carrier route may have degraded quality or packet loss. Check CloudWatch for any ThrottledCalls or ContactFlowErrors that correlate with the quality complaints.
- NAT or firewall for outbound WebRTC: Outbound calls still use WebRTC for the agent audio. If a firewall rule was recently changed that affects UDP traffic in a specific direction, it could impact outbound call audio without affecting inbound.
- Codec negotiation: The outbound call path may be negotiating a lower-quality codec than the inbound path.
Diagnostic steps:
- Have affected agents download their CCP logs from the CCP settings menu and review for WebRTC errors
- Check CloudWatch Logs for the contact flows associated with outbound calls for any errors
- Use the Amazon Connect Connectivity Check Tool from affected agent networks to verify network conditions
- Compare network monitoring data between inbound and outbound call periods to identify any correlation with network events
- Open an AWS Support case with specific contact IDs of affected calls so AWS can review the call records on their side
Q39. Scenario: A Lambda function used in your main inbound call flow is experiencing intermittent 500-millisecond delays that are pushing it close to the 8-second timeout. How do you fix this without taking the contact flow offline?
This is a common production problem that requires a careful, non-disruptive fix. The 8-second Lambda timeout from Amazon Connect means you need to resolve a function that is currently taking close to 8 seconds before it causes widespread flow failures.
Immediate mitigation without taking the flow offline:
First, enable X-Ray tracing on the Lambda function if it is not already enabled. X-Ray will show you exactly which operation is causing the delay โ whether it is a DynamoDB read, a Salesforce API call, or internal computation.
While X-Ray is collecting data, implement a timeout safety net in the Lambda code itself. Add a check at the start of the function that begins a timer, and if the function has been running for 6.5 seconds, return a safe default response immediately rather than waiting for the slow operation to complete. This prevents timeout-caused flow errors at the cost of occasionally returning default data.
Longer-term fix based on X-Ray findings:
- If DynamoDB is slow: Switch from Scan to Query operations. Enable DynamoDB Accelerator (DAX) for microsecond read latency on hot data. Restructure the table key schema if queries are inefficient.
- If an external API is slow: Implement a DynamoDB-backed cache. Store the last-known API response with a TTL of 5 minutes. Serve cached data immediately and refresh in the background asynchronously.
- If cold starts are the issue: Enable Lambda Provisioned Concurrency on this function to eliminate cold start latency.
- If VPC networking is slow: Add VPC endpoints for DynamoDB and other AWS services so Lambda does not route through a NAT gateway.
Deploy the fix to staging first, test with production-representative load, then deploy to production using the CodePipeline CI/CD pipeline with a canary deployment strategy.
Q40. Scenario: Your Amazon Connect instance is in us-east-1. Due to a new data residency regulation, your European customer data must now be stored only in the EU. How would you architect a solution?
This is a data residency and multi-region architecture challenge. Here is the approach:
Option 1 โ Deploy a separate EU Amazon Connect instance: Create a new Amazon Connect instance in the eu-west-1 (Ireland) or eu-central-1 (Frankfurt) region. Migrate European customers’ contact flows and configurations to this instance. Claim EU phone numbers directly in the EU instance. CTRs, recordings, and Customer Profiles data for European contacts will then reside in the EU region’s S3 and storage infrastructure. This is the cleanest approach from a data residency perspective.
Option 2 โ Route EU contacts to the EU instance with Global Resiliency: Configure Global Resiliency with the EU instance as the replica for European contacts. Use phone number traffic distribution to route EU-dialed numbers to the EU instance. Non-EU contacts continue using the us-east-1 instance.
Lambda functions: Deploy copies of Lambda functions in the EU region. Lambda functions invoked from EU contact flows must also run in the EU region to avoid cross-region data transfer.
Customer Profiles: Create a separate Customer Profiles domain in the EU region for European customer data. Ensure CRM sync (AppFlow) writes EU customer data to the EU domain, not the US one.
Monitoring: Set up CloudWatch cross-account observability from the EU instance to your central monitoring account, ensuring you have visibility without having to log into multiple consoles.
Document the data flows: Work with your legal and compliance team to document exactly what data is stored where. GDPR requires you to be able to demonstrate data residency, not just implement it.
Q41. Scenario: Your contact center uses Amazon Connect for voice and a legacy system for email. The business wants a unified agent experience where agents handle both in one interface. How would you design this?
This is a channel unification architecture challenge. Here is the design:
Enable Amazon Connect email: If the legacy email system can be migrated, enable the Amazon Connect email channel by configuring Amazon SES integration with your domain. Amazon Connect supports up to 100 email addresses and routes emails to queues just like voice contacts. Agents can then handle email contacts in the same CCP or agent workspace alongside voice.
If legacy email migration is not possible: Build a custom CCP using the Amazon Connect Streams API that embeds the native CCP for voice and adds a custom email panel on the side. The email panel fetches emails from the legacy email API and presents them in the unified interface. Agent status changes in the Streams CCP propagate to both the voice and email panels so the agent’s capacity is managed holistically.
Unified routing: Use Amazon Connect Tasks to represent legacy email contacts inside the Connect routing engine. When the legacy email system receives an email for a customer, a Lambda creates a task in Amazon Connect with the email subject, sender, and body as task attributes. The task is routed to an agent via standard Connect routing profiles. The agent sees the email details in the task and responds using a link that opens the legacy email system for actual sending.
The Amazon Connect Tasks approach is the fastest to implement because it requires no changes to the legacy email system and uses standard Connect routing for all contacts โ giving supervisors a single view of all contact volumes and agent workloads across both channels.
Q42. Scenario: A healthcare client needs to record calls for compliance but must ensure recordings cannot be deleted for 7 years. How do you architect this?
This requires an immutable recording retention architecture. Here is the complete design:
Enable call recording in the flow: Configure the Set Recording and Analytics Behavior block in all inbound and outbound flows to record both customer and agent audio. Recording starts automatically when the flow block is reached.
S3 bucket configuration: Configure the Amazon Connect recording S3 bucket with the following settings:
- Enable SSE-KMS encryption using a customer-managed KMS key. This ensures only authorized services can decrypt recordings.
- Enable S3 Object Lock in COMPLIANCE mode. COMPLIANCE mode means no user โ not even the AWS root account โ can delete or modify objects before the retention period expires.
- Set the Object Lock retention period to 7 years (2,556 days).
- Enable S3 Versioning, which is required for Object Lock to function.
Access control: Apply a restrictive bucket policy that allows Amazon Connect to write recordings but denies all delete operations. Use IAM policies to limit read access to only the roles that need it (QA team, compliance officers, supervisors). Enable S3 access logging to maintain an audit trail of every access event.
KMS key policy: Configure the KMS key policy so that even if IAM permissions were compromised, the recordings cannot be decrypted without the KMS key. Set up KMS key rotation on an annual basis.
Contact Lens redaction: Enable Contact Lens to automatically redact PHI (Protected Health Information) from transcripts if HIPAA compliance is required. Note that audio redaction requires additional custom processing.
HIPAA compliance: For healthcare clients subject to HIPAA, ensure the Amazon Connect instance is in an AWS region that has signed a HIPAA Business Associate Agreement with your organization. Contact AWS Sales to establish the necessary agreements.
Q43. Scenario: You need to build a real-time alert system that notifies the supervisor when a customer uses specific words (like cancel or complaint) during a live call. How do you architect this?
This is a real-time speech analytics alert use case. Here is the architecture:
Enable Contact Lens real-time analytics: In the Set Recording and Analytics Behavior block in your contact flow, enable Contact Lens real-time mode. This activates live transcription and analysis during the call.
Configure Contact Lens rules: In the Contact Lens rules console, create a real-time rule that triggers when specific keywords (cancel, complaint, speak to manager, legal action) are detected in the transcript. Rules can be configured for exact matches or semantic similarity.
Configure the alert action: When the rule triggers, Contact Lens can publish an event to Amazon EventBridge. Create an EventBridge rule that matches these Contact Lens events and routes them to a Lambda function.
Alert delivery Lambda: The Lambda function receives the event with the contact ID, the detected keyword, and the transcript segment. It looks up the agent handling the contact using the GetCurrentUserData API, identifies the agent’s supervisor using the user hierarchy, and sends an alert to the supervisor via:
- Amazon SNS to a supervisor Slack channel integration (using the SNS-to-Slack Lambda pattern)
- A push notification to the supervisor’s custom dashboard application
- An email via Amazon SES with the contact details and transcript excerpt
Supervisor action: The supervisor can then use the Monitor Contact API to silently listen to the call or initiate a barge-in if immediate intervention is needed.
This architecture provides a supervisor alert within 15 to 30 seconds of the keyword being spoken, which is fast enough for meaningful intervention during most live calls.
Q44. Scenario: A client wants to migrate their on-premises IVR to Amazon Connect but keep their agents on the existing Genesys platform during the transition. What architecture would you use?
This is the IVR-First hybrid migration model described in the AWS documentation. Here is the detailed architecture:
Step 1 โ Claim phone numbers in Amazon Connect: Claim the same number of phone numbers in Amazon Connect as your expected maximum concurrent transfers to the Genesys platform. These phone numbers will serve as unique identifiers for cross-platform transfers.
Step 2 โ Set up the intermediary database: Create a DynamoDB table with a schema that stores: transfer phone number (partition key), in-use status, customer data (name, account number, call reason, IVR selections), and TTL for automatic cleanup.
Step 3 โ Build the Amazon Connect IVR flows: Recreate all IVR menus, self-service flows, and routing logic in Amazon Connect. Test thoroughly to ensure parity with the legacy Genesys IVR behavior.
Step 4 โ Implement the transfer Lambda: When the IVR determines that an agent is required, invoke a Lambda that: queries the DynamoDB table for an available transfer phone number, marks it as in-use, writes the customer’s context data (IVR selections, account data, language preference) to the table, and returns the transfer number to the flow.
Step 5 โ Transfer to Genesys: Use the Transfer to Phone Number block in the Amazon Connect flow to transfer the customer to the selected number. Genesys receives the call on this number, queries DynamoDB using the DNIS (the transfer number), retrieves the customer context, routes the contact to the appropriate Genesys queue, and marks the transfer number as available in DynamoDB.
Step 6 โ Gradual cutover: Over time, migrate Genesys agent groups to Amazon Connect one at a time. As each agent group moves, the hybrid transfer requirement for that group is eliminated. Eventually, all agents are on Amazon Connect and the hybrid architecture is decommissioned.
Q45. Scenario: Your company is acquiring another company that also uses Amazon Connect. How do you consolidate two Amazon Connect instances into one?
Merging two Amazon Connect instances is not a simple migration โ Amazon Connect does not have a native instance-merge feature. Here is the consolidation approach:
Phase 1 โ Inventory and analysis: Export the full configuration of both instances using the Amazon Connect API and store as JSON: all queues, routing profiles, contact flows, users, security profiles, hours of operation, and phone numbers. Identify naming conflicts, overlapping user accounts, and configuration differences.
Phase 2 โ Design the unified instance: Choose one instance as the base (typically the larger or more mature one). Design the naming convention and hierarchy for the consolidated instance that accommodates both organizations’ structures.
Phase 3 โ Import acquired company configuration: Recreate the acquired company’s queues, routing profiles, hours of operation, and contact flows in the base instance using the Amazon Connect API. Use the ImportContactFlow API to import flow JSON exported from the acquired instance. Use the CreateUser API to create user accounts in bulk from the exported user list.
Phase 4 โ Phone number migration: The acquired company’s phone numbers cannot be moved between Amazon Connect instances directly. You must either port them away from the old instance and into the new one (which takes weeks) or forward calls from the old numbers to the new instance while the port is in progress.
Phase 5 โ Parallel running: Run both instances in parallel for 4-6 weeks. Monitor both for any issues. Gradually move agents from the acquired instance to the base instance.
Phase 6 โ Decommission: Once all traffic and agents are on the base instance and all phone numbers have been ported or forwarded, delete the acquired instance.
Q46. Scenario: A supervisor complains that the real-time metrics dashboard shows different numbers than what agents are reporting about their call counts. What are the likely causes?
Metric discrepancies between the real-time dashboard and agent reports are a common operational issue. Here are the likely causes:
Time zone differences: The real-time metrics dashboard shows data for the current metric period (typically midnight to now in UTC). If agents are in a different time zone and count calls from their local midnight, the numbers will not match. Verify the time zone settings on the metrics dashboard.
Definition differences: Contacts Handled in the metrics includes all contacts that were handled (including those where the agent only had a brief connection). An agent might be counting contacts where they had a meaningful conversation, excluding short-duration contacts they consider non-substantive.
Multiple channels: The dashboard aggregates voice, chat, and task contacts. If an agent is handling all three channels, the total contacts handled will be higher than what they might count if they are only thinking about voice calls.
Metric refresh timing: Real-time metrics have a refresh delay of up to 15 seconds. If the supervisor takes a screenshot during a high-volume period, the snapshot may be slightly behind actual counts.
Routing profile scope: If the supervisor’s dashboard is filtered to show only specific queues, contacts from other queues handled by the same agents may not appear.
Resolution: Pull a historical metrics report for the same time period and compare against the real-time data. Historical reports are more accurate for reconciliation. If discrepancies persist, export CTRs from the Kinesis stream or use the SearchContacts API to build a definitive count of contacts per agent.
Q47. Scenario: A new security audit requires that all Amazon Connect API calls be logged for compliance. How do you implement this?
Amazon Connect API call logging is implemented through AWS CloudTrail. Here is the complete implementation:
Enable CloudTrail: Ensure that a CloudTrail trail is active in the AWS account where your Amazon Connect instance runs. CloudTrail automatically logs all Amazon Connect API calls โ CreateUser, UpdateRoutingProfile, StartCampaign, InvokeAI, and every other API call โ with the caller identity, timestamp, source IP, and request parameters.
S3 storage with protection: Configure CloudTrail to deliver logs to a dedicated S3 bucket with:
- SSE-KMS encryption
- S3 Object Lock in COMPLIANCE mode with the required retention period (typically 1 year for most compliance frameworks, 7 years for some healthcare regulations)
- MFA Delete enabled to prevent accidental deletion
Centralized logging account: Use AWS Organizations with a dedicated security logging account. CloudTrail logs from all member accounts (including the Connect account) are delivered to the central logging account’s S3 bucket. This prevents account administrators from deleting their own audit logs.
CloudTrail Insights: Enable CloudTrail Insights on the trail to automatically detect unusual API activity โ for example, a spike in DeleteUser or UpdateContactFlowContent calls that might indicate unauthorized access.
CloudWatch integration: Configure CloudTrail to send logs to CloudWatch Logs in addition to S3. Create metric filters that alert on sensitive API calls (DeleteUser, DeleteQueue, UpdateContactFlow) and trigger SNS notifications to the security team.
Amazon Athena for audit queries: Set up Athena with the CloudTrail S3 location as a data source. Security auditors can then run SQL queries like ‘show all API calls made by user X in the last 30 days’ without downloading and parsing log files manually.
Q48. Scenario: An agent reports that their CCP is showing a contact but they cannot hear any audio. Other agents on the same team are fine. What is your troubleshooting process?
This is an agent-specific issue affecting only one workstation. Here is the systematic troubleshooting process:
Step 1 โ Check the browser: Ask the agent to verify that the browser (Chrome or Firefox) has microphone and speaker permissions granted to the Amazon Connect CCP URL. A recent browser update may have reset these permissions. Also confirm the browser is up to date.
Step 2 โ Check audio device settings in the CCP: The CCP has a gear icon for audio settings where the agent can select which microphone and speaker device to use. If the agent recently plugged in or unplugged a headset, the selected device may have changed to a device that is not connected.
Step 3 โ Download CCP logs: Have the agent download their CCP logs from the CCP settings menu. Review the logs for WebRTC connection errors, ICE candidate failures, or media negotiation errors. These entries identify the specific point of audio failure.
Step 4 โ Network connectivity: Run the Amazon Connect Connectivity Check Tool from the agent’s machine. Check if UDP ports required for WebRTC are accessible. If the agent is on a VPN, temporarily disconnect the VPN (if policy permits) and retry to isolate whether the VPN is causing the audio issue.
Step 5 โ Hardware test: Ask the agent to test their headset on another application (Teams, Zoom) to confirm the headset is working. Ask them to try a different headset if available.
Step 6 โ Browser restart and cache clear: Have the agent close the browser completely, clear cache and cookies, and reopen the CCP. This resolves a surprising number of WebRTC state issues.
Step 7 โ Different machine: If none of the above resolves it, have the agent log in from a different machine. If audio works on the different machine, the issue is specific to the original workstation hardware or OS configuration. If the issue follows the agent to the new machine, it may be a network segment issue or an account-level configuration problem โ escalate to the network team.
Q49. Scenario: Your Amazon Connect contact flows are maintained by a team of 8 developers. Occasionally a developer makes a change to a flow in production that breaks the customer experience. How do you prevent this?
This is a governance and DevOps architecture problem. Here is how to solve it:
Infrastructure as Code for flows: Export all contact flows as JSON using the DescribeContactFlow and ExportContactFlow APIs. Store these JSON files in a Git repository (GitHub, CodeCommit, or Bitbucket). All flow changes must be made by editing the JSON and submitting a pull request, not by editing flows directly in the Amazon Connect console.
CI/CD pipeline: Build a CodePipeline that runs when a pull request is merged to the main branch. The pipeline validates the flow JSON for syntax errors, deploys the flow to a staging Amazon Connect instance, runs automated integration tests (using the flow simulator or outbound test calls via StartOutboundVoiceContact API), waits for a manual approval from a senior architect, and then deploys to production using the ImportContactFlow API.
IAM restrictions: Modify the IAM policies attached to developer IAM roles so they can only update contact flows in the development and staging Amazon Connect instances. Only the CI/CD pipeline’s IAM role (a service role) has permission to update flows in the production instance. This prevents developers from making direct production changes even if they want to.
Security profile restrictions: In the Amazon Connect admin console, review which developers have Administrator or Power User security profiles. Restrict production console access to flow editing โ developers who only need to view flows should have a read-only security profile.
Change review: Require a minimum of one peer review approval on every flow pull request. Add a CODEOWNERS file to the repository so that changes to critical flows (the main inbound flow, the queue transfer flow) automatically request review from the lead architect.
Rollback procedure: Keep the previous 5 flow versions in the Git repository and ensure the CI/CD pipeline can roll back to a previous version within 5 minutes by triggering a re-deployment of the previous flow JSON.
Q50. Scenario: You are designing an Amazon Connect contact center for a bank. They need compliance call recording, PCI-DSS compliant payment processing in the IVR, real-time fraud alerting, multi-language support, and a 99.99% uptime SLA. How would you design the complete architecture?
This is the most comprehensive architecture design question you can face in an interview. Here is the complete design:
High Availability: Deploy Amazon Connect with Global Resiliency across two regions (us-east-1 primary, eu-west-1 secondary). Traffic distribution: 100% primary in normal operation. Runbook targets RTO of less than 15 minutes. Monitor ConcurrentCallsPercentage on both instances with automatic alerts.
Compliance Call Recording: Enable recording in all flows using the Set Recording and Analytics Behavior block. Store recordings in S3 with KMS encryption, S3 Object Lock COMPLIANCE mode, and a 7-year retention period. Enable S3 access logging. Restrict recording access to the compliance team security profile. Use Contact Lens to generate compliant transcripts with automatic PII redaction.
PCI-DSS IVR Payment Processing: The cardholder data environment must be strictly controlled. Implement DTMF masking for card number input: use the Amazon Connect DTMF input flow block with the suppress DTMF audio option enabled. This prevents the agent from hearing the card tones and prevents card numbers from appearing in transcripts or recordings. Route the DTMF input directly to a payment Lambda that calls a PCI-DSS certified payment gateway API. Card numbers are never stored in Amazon Connect contact attributes or logs. After successful payment, the Lambda returns only a transaction reference number to the flow.
Real-Time Fraud Alerting: Enable Contact Lens real-time analytics on all calls. Configure rules to detect fraud indicators (suspicious account number changes, unusual transaction amounts, high-pressure social engineering patterns). EventBridge routes alerts to a fraud operations Lambda that notifies the fraud team via SNS in under 30 seconds and can automatically flag the contact for supervisor review.
Multi-Language Support: Create language-specific queues and routing profiles. In the inbound flow, use Amazon Lex for language detection on the first customer utterance. Based on the detected language, set the contact language attribute and route to the corresponding language queue. Use Amazon Polly Neural TTS voices for high-quality prompts in each supported language.
Identity and Security: SAML 2.0 SSO with the bank’s Azure Active Directory. All administrator access requires MFA. Security profiles enforce least-privilege at the functional level. VPC PrivateLink endpoints for all Amazon Connect API calls. Lambda functions run inside a VPC with security groups. All external API calls (core banking, CRM) use AWS PrivateLink or Direct Connect, never the public internet.
Monitoring: CloudWatch dashboards for all five workload layers. PagerDuty integration for P1 alerts on ContactFlowFatalErrors and ThrottledCalls. CloudTrail for complete API audit logging. Monthly compliance reporting via Athena queries against the Analytics Data Lake.
This architecture addresses all five requirements and meets the 99.99% uptime SLA through multi-AZ redundancy and Global Resiliency.
Conclusion
Amazon Connect architecture is a broad topic that combines AWS cloud fundamentals, contact center domain knowledge, and hands-on technical experience. The 50 questions in this article cover the spectrum from foundational workload layer knowledge all the way to complex multi-requirement enterprise designs.
The most important thing to remember in any Amazon Connect architecture interview is that the platform is built around five layers: telephony, interface and API, flows and IVR, agent workstation, and metrics and reporting. Every architecture question can be mapped back to one or more of these layers. Understanding how data flows between layers, where failures occur, and how AWS services like Lambda, DynamoDB, Kinesis, and S3 connect those layers together is what distinguishes an expert architect from someone who has only read the documentation.
Practice explaining these answers out loud in simple terms. Interviewers want to know that you can communicate complex architecture decisions to both technical teams and business stakeholders. If you can do that, combined with the depth of knowledge in this article, you are fully prepared for any Amazon Connect architecture interview in 2025.
References: Amazon Connect Administrator Guide (AWS Official Documentation)

