Welcome to Part 11 of our complete study series for the AWS Certified Cloud Practitioner (CLF-C02) certification. As companies grow their cloud footprints, they inevitably need to connect decoupled applications, migrate massive databases from on-premises servers, and leverage artificial intelligence. Understanding how to use AWS application integration tools, move data securely with the AWS Database Migration Service, and build smart models using Amazon SageMaker are highly testable topics on the actual exam. Solving realistic, scenario-based questions is the fastest way to master these services.
| AWS Integration, Migration & ML CLF-C02 Practice Exam – SQS, SNS, DMS, SageMaker |
In this free aws cloud practitioner practice exam module (Part 11), we dive into Application Integration, Migration, and Machine Learning. You will work through 20 carefully selected questions (Questions 1 through 20) designed to clear up common exam confusion, such as the exact differences in SQS vs SNS messaging, or choosing between AWS DMS and AWS DataSync. Every question includes a simple, straightforward explanation so you know exactly why the correct answer is right and why the other options fail AWS best practices.
AWS Cloud Practitioner (CLF-C02) Practice Questions
Q1: Visual Workflow Orchestration (Step Functions)
A company needs to coordinate a multi-step order fulfillment process. The solution must connect multiple AWS Lambda functions using branching logic, automated retries, and state management.
Which AWS service provides visual workflow orchestration to meet these requirements?
• A is incorrect: AWS CodePipeline is a continuous delivery service used to automate software release pipelines. It is not used to orchestrate application business logic.
• B is correct: AWS Step Functions is a serverless visual orchestration service used to coordinate multiple AWS services (such as AWS Lambda) into automated workflows. It natively handles state management, branching logic, and error handling.
• C is incorrect: AWS Batch is used to efficiently run large-scale batch computing and containerized workloads. It is not a stateful workflow orchestrator.
• D is incorrect: Amazon SNS is a publish/subscribe (pub/sub) messaging service used for sending notifications. It does not manage state or coordinate multi-step workflows.
Q2: Cloud Migration Planning (Discovery Service)
An organization is planning a large-scale cloud migration and needs to catalog its on-premises server inventory. The team must collect system configuration details, measure resource utilization, and map network dependencies across running applications.
Which AWS service should be used to gather this information to assist in migration planning?
• A is correct: AWS Application Discovery Service helps organizations plan migrations by collecting on-premises server inventory, hardware configurations, performance metrics, and network dependencies.
• B is incorrect: AWS Application Migration Service (AWS MGN) is the primary service used to lift and shift applications to AWS by replicating source servers. It does not perform the initial discovery and assessment phases.
• C is incorrect: AWS Database Migration Service (AWS DMS) is used to migrate and replicate databases securely to AWS. It is not used for general server discovery or network dependency mapping.
• D is incorrect: AWS DataSync is an online data transfer service that simplifies moving large amounts of data between on-premises storage and AWS. It does not inventory servers or measure system performance.
Q3: Real-Time Product Recommendations (Amazon Personalize)
An e-commerce company wants to deliver real-time, customized product recommendations to shoppers based on their browsing history and purchase habits.
Which AWS service should the company use to meet this requirement?
• A is incorrect: Amazon Forecast uses machine learning to generate time-series forecasts, such as predicting future inventory demand. It is not used for individual user recommendations.
• B is incorrect: Amazon Transcribe is an automatic speech recognition service that converts audio to text.
• C is correct: Amazon Personalize is a machine learning service that allows developers to create real-time, personalized recommendations and targeted marketing content for users.
• D is incorrect: Amazon Rekognition is a computer vision service used to detect objects, faces, text, and activities in images and video. It does not generate product recommendations.
Q4: Application Integration & Migration Data (Yes/No)
Review the three statements below regarding AWS Application Integration and Data Migration Services. Determine whether each statement is Yes (True) or No (False).
1. AWS Snowball is a physical device used to migrate large amounts of data into and out of the AWS Cloud when internet bandwidth is limited or unavailable.
2. Amazon Simple Notification Service (Amazon SNS) is a pull-based message queuing service designed primarily to temporarily buffer messages and decouple microservices.
3. Amazon EventBridge is a serverless event bus that connects applications together using data from AWS services, custom applications, and third-party SaaS integrations.
• Statement 1 is Yes (True): AWS Snowball is a highly secure, portable storage and edge computing device. It is specifically designed for offline data migrations where transferring large datasets over the internet would be too slow or expensive.
• Statement 2 is No (False): Amazon SNS is a push-based publish/subscribe (pub/sub) service used for sending notifications to multiple subscribers simultaneously. Amazon Simple Queue Service (Amazon SQS) is the pull-based message queuing service used to buffer messages and decouple microservices.
• Statement 3 is Yes (True): Amazon EventBridge is a serverless event bus that routes events between AWS services, third-party Software-as-a-Service (SaaS) applications, and custom applications to build scalable, event-driven architectures.
Q5: Centralized Migration Tracking (AWS Migration Hub)
A company is migrating multiple applications to the AWS Cloud using a combination of AWS and partner tools. The IT team needs a single, centralized dashboard to track the status and progress of all these migrations.
Which AWS service provides this capability?
• A is incorrect: AWS Control Tower automates the setup and governance of a secure, multi-account AWS environment. It does not track application migration progress.
• B is correct: AWS Migration Hub provides a single location to track the progress of application migrations across multiple AWS and partner solutions. It allows you to monitor the status of all migrations from a centralized dashboard.
• C is incorrect: AWS Systems Manager is used to view operational data and automate management tasks for resources running on AWS or on-premises.
• D is incorrect: AWS CloudTrail logs API calls and user activity for auditing purposes. It is not a migration tracking tool.
Q6: End-to-End Machine Learning Platform (Amazon SageMaker)
A data science team needs a fully managed AWS service to prepare datasets, build custom algorithms, and train and deploy machine learning (ML) models into production.
Which AWS service provides these capabilities?
• A is correct: Amazon SageMaker is a fully managed service that provides developers and data scientists with a complete platform to build, train, tune, and deploy custom machine learning models at scale.
• B is incorrect: Amazon Comprehend is a natural language processing (NLP) service that uses pre-trained models to extract insights and relationships from unstructured text. It is not a general-purpose ML development platform.
• C is incorrect: Amazon Personalize is a specialized service used to create real-time, customized product and content recommendations.
• D is incorrect: Amazon Textract is a machine learning service that automatically extracts text, handwriting, and data from scanned documents and PDFs.
Q7: Enterprise Document Search (Amazon Kendra)
A company stores thousands of documents, such as contracts and compliance manuals, in Amazon S3 buckets. The company needs a machine learning-powered search service that allows employees to ask natural language questions to find precise answers within these documents.
Which AWS service meets these requirements?
• A is incorrect: Amazon Rekognition is a computer vision service used to identify objects, people, and text in images and videos. It is not an enterprise document search service.
• B is incorrect: Amazon Polly is a service that converts written text into lifelike human speech. It does not provide search capabilities.
• C is correct: Amazon Kendra is a highly accurate, machine learning-powered enterprise search service. It allows users to search across unstructured data and document repositories (like Amazon S3) using natural language.
• D is incorrect: Amazon Lex is a service for building conversational interfaces (chatbots) using voice and text. It is not designed to be an enterprise document search engine.
Q8: Integration, Migration & ML Services (Matching)
Match each description below to its corresponding AWS Service:
1. A fully managed message queuing service used to decouple and scale microservices, distributed systems, and serverless applications:
2. The primary lift-and-shift service that automates the migration of physical, virtual, and cloud-based servers to AWS with minimal downtime:
3. A fully managed service that provides developers and data scientists with the tools to build, train, and deploy machine learning models at scale:
• 1 is Amazon Simple Queue Service (Amazon SQS): Amazon SQS is a pull-based message queuing service that allows application components to communicate asynchronously, which helps decouple microservices and prevent message loss.
• 2 is AWS Application Migration Service (AWS MGN): AWS MGN continuously replicates source servers to AWS, making it the primary automated tool for lift-and-shift server migrations across platforms.
• 3 is Amazon SageMaker: Amazon SageMaker is an end-to-end machine learning platform used to prepare data, train algorithms, and deploy ML models into production.
• Amazon Simple Notification Service (Amazon SNS) is the unused option. It is a push-based publish/subscribe (pub/sub) service used for sending notifications to multiple endpoints simultaneously, rather than a pull-based queue, a migration tool, or a machine learning platform.
Q9: Media Video Transcoding (MediaConvert)
A media streaming company allows creators to upload high-resolution video and audio files. The company needs a service to automatically transcode these files into formats optimized for seamless playback on smartphones, tablets, and web browsers.
Which AWS service meets these requirements?
• A is incorrect: Amazon Polly is a text-to-speech service that converts written text into lifelike speech. It does not transcode existing video or audio files.
• B is correct: AWS Elemental MediaConvert is a file-based video transcoding service with broadcast-grade features. It allows you to easily create video-on-demand (VOD) content for broadcast and multiscreen delivery at scale.
• C is incorrect: Amazon Rekognition is a computer vision service used to analyze images and video to identify objects, faces, and activities. It is not used for media transcoding.
• D is incorrect: Amazon Comprehend is a natural language processing (NLP) service used to find insights and relationships in unstructured text.
Q10: Live Database Migration (AWS DMS)
An organization plans to migrate an on-premises non-relational (NoSQL) database to Amazon DynamoDB. The organization must keep the source database operational during the migration to minimize application downtime.
Which AWS service should be used to perform this database migration?
• A is incorrect: AWS Application Migration Service (AWS MGN) is used to lift and shift entire physical or virtual servers (operating systems and attached disks) to AWS. It is not specifically designed for database data replication.
• B is incorrect: Migration Evaluator is a migration assessment service that helps create a business case and calculate the total cost of ownership (TCO) for moving to the cloud. It does not perform data transfers.
• C is correct: AWS Database Migration Service (AWS DMS) is designed to migrate relational and non-relational databases to AWS securely and efficiently. It continuously replicates data while the source database remains operational, minimizing downtime.
• D is incorrect: AWS Migration Hub provides a centralized dashboard to track the progress of applications migrating to AWS. It does not perform the actual data replication.
Q11: Conversational Chatbots (Amazon Lex)
A company wants to add an automated customer service chatbot to its website. Developers can use ________ to build conversational interfaces into the application using voice and text.
• A is incorrect: Amazon Polly is a text-to-speech service that converts written text into lifelike spoken audio. It is not used to build conversational chatbots.
• B is correct: Amazon Lex is a fully managed artificial intelligence (AI) service used to build conversational interfaces (chatbots) into any application using voice and text. It uses the same deep learning engine as Amazon Alexa.
• C is incorrect: Amazon Transcribe is an automatic speech recognition service used to convert spoken audio into written text.
• D is incorrect: Amazon Rekognition is a computer vision service used to identify objects, people, and activities in images and videos.
Q12: Decoupling Microservices (Amazon SQS)
An e-commerce application is built using a distributed microservices architecture. The developers need an asynchronous communication mechanism to reliably exchange and buffer messages between the services without creating direct dependencies.
Which AWS service provides this message queuing capability?
• A is incorrect: Elastic Load Balancing (ELB) distributes incoming network traffic across multiple compute targets. It does not provide message queuing or decouple application microservices.
• B is correct: Amazon Simple Queue Service (Amazon SQS) is a fully managed message queuing service. It enables developers to decouple and scale microservices by allowing components to securely send, store, and receive messages asynchronously.
• C is incorrect: AWS Auto Scaling automatically adjusts compute resources to maintain application performance based on demand. It does not handle inter-service messaging.
• D is incorrect: Amazon Kinesis Data Streams is used to collect and process continuous streams of data records in real time. It is designed for big data streaming analytics rather than standard point-to-point message queuing to decouple microservices.
Q13: Heterogeneous Database Migration (Select 2)
A company wants to migrate its on-premises proprietary database to an open-source database engine on Amazon RDS. The company needs to convert the existing database schema and replicate the data to the new cloud environment.
Which AWS services or tools should the company use to meet these requirements? (Choose TWO.)
• A is correct: AWS Database Migration Service (AWS DMS) is used to securely migrate and continuously replicate data from a source database to a target database with minimal downtime.
• D is correct: AWS Schema Conversion Tool (AWS SCT) makes heterogeneous database migrations predictable by automatically converting the source database schema and custom code to a format compatible with the target database engine.
Why are the other options incorrect?
• B is incorrect: AWS Systems Manager provides a centralized hub to view operational data and automate management tasks across AWS resources. It is not used for database migrations.
• C is incorrect: Amazon EMR is a managed cluster platform that simplifies running big data frameworks like Apache Hadoop and Apache Spark. It is not a database migration tool.
• E is incorrect: AWS SDKs provide language-specific APIs for developers to interact with AWS services programmatically. They are not dedicated utilities for database schema conversion or data replication.
Q14: Sentiment Analysis (Amazon Comprehend)
A marketing team has collected thousands of text-based customer reviews. The team wants to use machine learning to automatically analyze the text and determine the overall sentiment (positive, negative, neutral, or mixed) of the customers.
Which AWS service should the team use?
• A is incorrect: Amazon Textract is used to automatically extract text, handwriting, and data from scanned documents and PDFs.
• B is incorrect: Amazon Translate is a neural machine translation service used to translate text between different languages.
• C is correct: Amazon Comprehend is a natural language processing (NLP) service that uses machine learning to find insights and relationships in text. It is specifically designed to perform sentiment analysis, entity recognition, and key phrase extraction.
• D is incorrect: Amazon Lex is used to build conversational interfaces (chatbots) using voice and text.
Q15: SQS vs SNS Messaging (True/False)
Determine whether the following statement is True or False:
Amazon Simple Queue Service (Amazon SQS) is a push-based messaging service designed to immediately send alerts and notifications to thousands of email or SMS subscribers simultaneously.
• Why False is correct: This statement describes Amazon Simple Notification Service (Amazon SNS), which is a push-based pub/sub service used for sending immediate notifications to subscribers. Amazon SQS, on the other hand, is a pull-based message queuing service used to decouple application components by storing messages in a queue until a receiving service is ready to process them.
Q16: Automated Server Migration (AWS MGN)
A company needs to migrate running Amazon EC2 workloads from one AWS Region to another with minimal cutover downtime.
Which AWS service should be used for this automated, lift-and-shift server migration?
• A is incorrect: AWS Database Migration Service (AWS DMS) is used to migrate databases and data warehouses. It is not used to migrate full virtual machine workloads.
• B is correct: AWS Application Migration Service (AWS MGN) is the primary service for automated lift-and-shift server migrations. It continuously replicates source servers, enabling seamless migrations across platforms and AWS Regions with minimal downtime.
• C is incorrect: AWS DataSync is an online data transfer service used to move files and objects between storage systems. It does not replicate compute workloads or operating systems.
• D is incorrect: AWS Migration Hub provides a single location to track the progress of application migrations. It acts as a dashboard and does not perform the actual server data replication.
Q17: Data Transfer & ML Services (Matching)
Match each description below to its corresponding AWS Service:
1. An online data transfer service that simplifies, automates, and accelerates moving large amounts of data between on-premises storage and AWS:
2. A machine learning service that automatically extracts printed text, handwriting, and data from scanned documents and PDFs:
3. A serverless event bus used to connect applications using data from your own custom applications, AWS services, and third-party SaaS integrations:
• 1 is AWS DataSync: AWS DataSync is an automated, online data transfer service designed to efficiently move massive datasets between on-premises storage (like NAS) and AWS storage services (like Amazon S3 or Amazon EFS).
• 2 is Amazon Textract: Amazon Textract is an AI service that goes beyond simple optical character recognition (OCR) to accurately extract text, handwriting, and structured data from scanned documents.
• 3 is Amazon EventBridge: Amazon EventBridge is a serverless event bus that routes events from various sources to specific targets, making it easier to build decoupled, event-driven architectures.
• Amazon Translate is the unused option. It is a neural machine translation service that delivers fast, high-quality, and affordable language translation.
Q18: SFTP Cloud Migration (AWS Transfer Family)
A financial institution needs to migrate its existing Secure File Transfer Protocol (SFTP) workflows to the cloud. The institution wants a fully managed service that allows partners to securely transfer files directly into Amazon S3 using SFTP, FTPS, and FTP protocols.
Which AWS service meets this requirement?
• A is correct: AWS Transfer Family is a fully managed service that enables the secure transfer of files directly into and out of Amazon S3 or Amazon EFS using standard protocols like SFTP, FTPS, and FTP.
• B is incorrect: AWS DataSync is an automated online data transfer service used to move large datasets between on-premises storage and AWS, but it does not act as a managed SFTP endpoint for external partners.
• C is incorrect: AWS Snowball Edge is a physical device used for offline data migration when internet bandwidth is limited.
• D is incorrect: Amazon API Gateway is used to create, publish, and secure REST, HTTP, and WebSocket APIs. It is not an SFTP file transfer service.
Q19: Fan-Out Messaging Architecture (Select 2)
A development team is refactoring a monolithic application into a decoupled microservices architecture. The team needs a solution that can broadcast a single event to multiple downstream services simultaneously, while also buffering incoming requests so that the receiving services can process them at their own pace.
Which AWS services should the team use together to meet these requirements? (Choose TWO.)
• A is correct: Amazon Simple Queue Service (Amazon SQS) is a fully managed message queuing service used to buffer messages. This allows downstream microservices to pull and process requests at their own pace without overloading the system or dropping data.
• D is correct: Amazon Simple Notification Service (Amazon SNS) is a fully managed publish/subscribe (pub/sub) messaging service. It is used to broadcast (fan-out) a single message to multiple endpoints or subscribers, such as multiple SQS queues, simultaneously.
Why are the other options incorrect?
• B is incorrect: Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. It is not used for application decoupling or internal message routing.
• C is incorrect: AWS Step Functions is a serverless visual workflow service used to orchestrate multi-step business processes. While it integrates with microservices, it is not designed to broadcast single events to multiple uncoordinated subscribers or act as a message buffer.
• E is incorrect: Amazon Macie is a data security and data privacy service that uses machine learning to discover and protect sensitive data in Amazon S3. It has no application integration capabilities.
Q20: Computer Vision and Image Analysis
A company needs to analyze visual media to extract information from images and videos without building custom machine learning models.
Which task can be accomplished using Amazon Rekognition?
• D is correct: Amazon Rekognition is a managed computer vision service that uses pre-trained machine learning models to identify objects, people, faces, text, and activities in images and videos.
Why are the other options incorrect?
• A is incorrect: Converting spoken audio into text is performed by Amazon Transcribe, an automatic speech recognition service.
• B is incorrect: Translating text across different human languages is handled by Amazon Translate.
• C is incorrect: Resizing and compressing image files is typically performed by compute services (such as AWS Lambda) or third-party libraries, rather than an AI computer vision service.
AWS App Integration & ML Cheat Sheet: Core Comparisons
To pass the CLF-C02 exam, you must clearly distinguish between integration and migration services that sound very similar. Use this quick comparison to lock in the differences:
| Service Pair | Primary Focus & Mechanism | Key Question to Ask Yourself |
|---|---|---|
| SQS vs SNS | Amazon SQS is a pull-based queue that buffers messages to prevent data loss. Amazon SNS is a push-based pub/sub service that broadcasts alerts immediately. |
Am I buffering messages for worker instances (SQS) or sending a mass alert to subscribers (SNS)? |
| AWS DMS vs DataSync | AWS Database Migration Service moves databases and keeps them operational during transit. AWS DataSync transfers millions of flat files (NFS/SMB) into S3 or EFS. |
Am I migrating a SQL/NoSQL database (DMS) or just transferring massive folders of files (DataSync)? |
| EventBridge vs SNS | EventBridge is a serverless event bus that integrates deeply with SaaS apps (like Zendesk) and routes events using rules. SNS focuses purely on fan-out notification messaging. |
Do I need complex event routing and third-party SaaS integration? (Choose EventBridge). |
| SageMaker vs Comprehend | Amazon SageMaker is a platform for data scientists to build/train their own models. Amazon Comprehend is a ready-to-use NLP service for finding sentiment in text. |
Am I building a custom machine learning model from scratch (SageMaker) or just analyzing text sentiment (Comprehend)? |
Key Takeaways for AWS Integration & ML (Part 11 Summary)
• Decoupling Architectures: Tightly coupled architectures fail easily. AWS solves this using Amazon SQS (to queue and buffer tasks) and Amazon SNS (to notify and fan-out messages). Combining them creates a highly resilient system where microservices scale independently.
• Migration Strategies: Know your migration tools! Use AWS Application Migration Service (MGN) for lift-and-shift server migrations. Use AWS Database Migration Service to move databases while keeping them live, and use the AWS Schema Conversion Tool (SCT) if you are changing database engines (e.g., Oracle to PostgreSQL).
• Machine Learning (ML) Tiers: AWS ML services are divided into two tiers for the exam. The platform tier is Amazon SageMaker, used by developers to build models. The application tier consists of pre-trained AI services like Amazon Rekognition (vision), Amazon Lex (chatbots), Amazon Polly (text-to-speech), and Amazon Transcribe (speech-to-text).
Frequently Asked Questions (AWS CLF-C02 FAQ)
1. What is the exact difference between Amazon SQS and Amazon SNS?
This is a classic exam topic. Amazon SQS (Simple Queue Service) is a pull-based messaging system. It holds messages in a queue until a receiving microservice (or EC2 instance) is ready to request and process them. This buffering prevents the receiver from being overwhelmed. Amazon SNS (Simple Notification Service) is a push-based publish/subscribe system. It actively pushes messages to multiple subscribers (like email, SMS, or even SQS queues) simultaneously without waiting to see if they are ready.
2. What is the difference between AWS DMS and AWS DataSync?
Both move data, but for entirely different purposes. The AWS Database Migration Service (AWS DMS) is specifically designed to replicate relational databases, data warehouses, and NoSQL databases, ensuring the source database remains fully operational during the migration. AWS DataSync is an online data transfer service designed to rapidly move massive amounts of flat files, object data, and file system data (NFS, SMB) into AWS storage services like Amazon S3 or Amazon EFS.
3. What is Amazon SageMaker used for?
Amazon SageMaker is a fully managed cloud machine learning platform. It is designed for data scientists and developers who want to build, train, tune, and deploy their own custom machine learning (ML) models at scale. Unlike ready-to-use AI services (like Amazon Lex or Rekognition), SageMaker gives you the underlying infrastructure and Jupyter notebooks to write your own ML algorithms.
4. When should you use Amazon EventBridge instead of Amazon SNS?
While both can route messages, Amazon EventBridge (formerly CloudWatch Events) is a serverless event bus designed to build event-driven architectures. It allows for complex rule-based routing and can natively ingest events from custom applications and third-party SaaS partners (like Datadog, Zendesk, or Shopify). Amazon SNS is simpler, focusing strictly on high-throughput, fan-out notification delivery (like triggering a Lambda function or sending an SMS).
Ready to See Your Results?
Excellent work completing Part 11 of our free aws cloud practitioner practice exam series! Understanding decoupled architectures (SQS vs SNS), cloud migration tools, and the AWS machine learning portfolio is heavily tested in Domain 3 (Cloud Technology and Services) of the official AWS Certified Cloud Practitioner (CLF-C02) exam.
Review any questions you answered incorrectly, make sure you understand the differences in the cheat sheet table above, and complete your certification preparation with our final practice module covering AWS Billing, Pricing Models & Cost Management.