wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AWS Solutions Architect Associate - Serverless, Data Analytics

Total questions: 67

Worksheet time: 34mins

Name
Class
Date
1.

You have an e-commerce website and you are preparing for Black Friday which is the biggest sale of the year. You expect that your traffic will increase by 100x. Your website already using an SQS Standard Queue, and you're running a fleet of EC2 instances in an Auto Scaling Group to consume SQS messages. What should you do to prepare your SQS Queue?

a)

Contact AWS Support to pre-warm your SQS Standard Queue

b)

Enable Auto Scaling in your SQS queue

c)

Increase the capacity of the SQS queue

d)

Do nothing, SQS scales automatically

2.

You have an SQS Queue where each consumer polls 10 messages at a time and finishes processing them in 1 minute. After a while, you noticed that the same SQS messages are received by different consumers resulting in your messages being processed more than once. What should you do to resolve this issue?

a)

Enable Long Polling

b)

Add DelaySeconds parameter to the messages when being produced

c)

Increase Visibility Timeout

d)

Decrease the Visibility Timeout

3.

Which SQS Queue type allows your messages to be processed exactly once and in order?

a)

SQS Standard Queue

b)

SQS Dead Letter Queue

c)

SQS Delay Queue

d)

SQS FIFO Queue

4.

You have 3 different applications and you'd like to send them the same message. All 3 applications are using SQS. What is the best approach would you choose?

a)

Use SQS Replication Feature

b)

Use SNS + SQS Fan Out Pattern

c)

Send messages individually to 3 SQS queues

5.

You have a Kinesis data stream with 6 shards provisioned. This data stream usually receives 5 MB/s of data and sends out 8 MB/s. Occasionally, your traffic spikes up to 2x and you get a ProvisionedThroughputExceeded exception. What should you do to resolve the issue?

a)

Add more Shards

b)

Enable Kinesis Replication

c)

Use SQS as a buffer to Kinesis

6.

You have a website where you want to analyze clickstream data such as the sequence of clicks a user makes, the amount of time a user takes, and where the navigation begins and how it ends. You decided to use Amazon Kinesis, so you have configured the website to send clickstream data to a Kinesis data stream. When you check the data sent to your Kinesis data stream, you find that the users' data is not ordered and the data for individual users is spread across many shards. How would you fix this problem?

a)

There are too many shards, you should only use 1 shard

b)

You shouldn't use multiple consumers, only one and it should re-order data

c)

For each record sent to Kinesis, add a partition key that represents the identity of the user

7.

You are running an application that produces a large amount of real-time data that you want to load into S3 and Redshift. Also, this data must be transformed before being delivered to its destination. What is the best architecture you can choose?

a)

SQS + AWS Lambda

b)

SNS + HTTP Endpoint

c)

Kinesis Data Streams + Kinesis Data Firehose

8.

Which of the following is NOT a supported subscriber for AWS SNS?

a)

Amazon Kinesis Data Streams

b)

Amazon SQS

c)

HTTP(S) Endpoint

d)

AWS Lambda

9.

Which AWS service helps you when you want to send email notifications to your users?

a)

Amazon SQS with AWS Lambda

b)

Amazon SNS

c)

Amazon Kinesis

10.

You're running many micro-services applications on-premises and they communicate using a message broker that supports the MQTT protocol. You're planning to migrate these applications to AWS without re-engineering each app and modifying the code. Which AWS service allows you to get a managed message broker that supports the MQTT protocol?

a)

Amazon SQS

b)

Amazon SNS

c)

Amazon Kinesis

d)

Amazon MQ

11.

An e-commerce company is preparing for a big marketing promotion that will bring millions of transactions. Their website is hosted on EC2 instances in an Auto Scaling Group with Amazon Aurora as their database. The Aurora database has a bottleneck where many transactions failed during the latest promotion. The Aurora database wasn’t prepared to handle the large increase in transactions. What architecture would you recommend to prevent any future failed transactions?

a)

Use SQS as a buffer to write to Aurora

b)

Host the website in AWS Fargate instead of EC2 instances

c)

Migrate Aurora to RDS for SQL Server

12.

A company uses Amazon Kinesis Data Streams to ingest clickstream data to perform analytical processes. There is a campaign in the next few days so traffic may become unpredictable and grow 100x. What Kinesis Data Stream capacity mode do you recommend?

a)

Provisioned Mode

b)

On-demand Mode

13.

You have multiple Docker-based applications hosted on-premises that you want to migrate to AWS. You don't want to provision or manage any infrastructure; you just want to run your containers on AWS. Which AWS service should you choose?

a)

Elastic Container Service (ECS) in EC2 Launch Mode

b)

Elastic Container Registry (ECR)

c)

AWS Fargate on AWS

14.

Amazon Elastic Container Service (ECS) has two Launch Types: ________ and ________.

a)

Amazon EC2 Launch Type and Fargate Launch Type

b)

Amazon EC2 Launch Type and EKS Launch Type

c)

Fargate Launch Type and EKS Launch Type

15.

You have an application hosted on an ECS Cluster (EC2 Launch Type) where you want your ECS tasks to upload files to an S3 bucket. Which IAM Role for your ECS Tasks should you modify?

a)

EC2 Instance Profile

b)

ECS Task Role

16.

You plan to migrate a WordPress website running on Docker containers from on-premises to AWS. You have decided to run the application in an ECS Cluster, but you want your docker containers to access the same WordPress website content such as website files, images, videos, etc. What do you recommend to achieve this?

a)

Mount an EFS volume

b)

Mount an EBS volume

c)

Use an EC2 Instance Store

17.

You are deploying an application on an ECS Cluster made of EC2 instances. Currently, the cluster is hosting one application that issues API calls to DynamoDB successfully. Upon adding a second application, which issues API calls to S3, you get authorization issues. What should you do to resolve the problem and ensure proper security?

a)
  • Edit the EC2 instance role to add permissions to S3

b)
  • Create an IAM task role for the new application

c)
  • Enable the Fargate mode

d)
  • Edit the S3 bucket policy to allow the ECS task

18.

You are migrating your on-premises Docker-based applications to Amazon ECS. You were using Docker Hub Container Image Library as your container image repository. Which is an alternative AWS service that is fully integrated with Amazon ECS?

a)

AWS Fargate

b)

Elastic Container Registry (ECR)

c)

Elastic Kubernetes Service (EKS)

d)

Amazon EC2

19.

Amazon EKS supports the following node types, EXCEPT:

a)

Managed Node Groups

b)

Self-Managed nodes

c)

AWS Fargate

d)

AWS Lambda

20.

A developer has a running website and APIs on his local machine using containers and he wants to deploy both of them on AWS. The developer is new to AWS and doesn’t know much about different AWS services. Which of the following AWS services allows the developer to build and deploy the website and the APIs in the easiest way according to AWS best practices?

a)

AWS App Runner

b)

EC2 Instances + Application Load Balancer

c)

Amazon ECS

d)

AWS Fargate

21.

You have created a Lambda function that typically will take around 1 hour to process some data. The code works fine when you run it locally on your machine, but when you invoke the Lambda function it fails with a "timeout" error after 3 seconds. What should you do?

a)

Configure your Lambda's timeout to 25 minutes

b)

Configure your Lambda's memory to 10 GB

c)

Run your code somewhere else (ex. EC2 instance)

22.

Before you create a DynamoDB table, you need to provision the EC2 instance the DynamoDB table will run on.

a)

True

b)

False

23.

You have provisioned a DynamoDB table with 10 RCUs and 10 WCUs. A month later you want to increase the RCU to handle more read traffic. What should you do?

a)

Increase RCU and keep WCU the same

b)

You need to increase both RCU and WCU

c)

Increase RCU and decrease WCU

24.

You have an e-commerce website where you are using DynamoDB as your database. You are about to enter the Christmas sale and you have a few very popular items and expect they will be read often. Unfortunately, last year due to the huge traffic you had the ProvisionedThroughputExceededException exception. What would you do to prevent this error from happening again?

a)

Increase the RCU to a very high value

b)

Create a DAX Cluster

c)

Migrate the database away from DynamoDB for the time of the sale

25.

You have developed a mobile application that uses DynamoDB as its data store. You want to automate sending welcome emails to new users after they sign up. What is the most efficient way to achieve this?

a)

Schedule a Lambda function to run every minute using CloudWatch Events, scan the entire table looking for new users

b)

Enable SNS and DynamoDB integration

c)

Enable DynamoDB Streams and configure it to invoke a Lambda function to send emails

26.

To create a serverless API, you should integrate Amazon API Gateway with ________.

a)

EC2 Instance

b)

Elastic Load Balancing

c)

AWS Lambda

27.

When you are using an Edge-Optimized API Gateway, your API Gateway lives in CloudFront Edge Locations across all AWS Regions.

a)

True

b)

False

28.

You are running an application in production that is leveraging DynamoDB as its datastore and is experiencing smooth sustained usage. There is a need to make the application run in development mode as well, where it will experience an unpredictable volume of requests. What is the most cost-effective solution that you recommend?

a)

Use Provisioned Capacity Mode with Auto Scaling enabled for both development and production

b)

Use Provisioned Capacity Mode with Auto Scaling enabled for production and use On-Demand Capacity Mode for development

c)

Use Provisioned Capacity Mode with Auto Scaling enabled for development and use On-Demand Capacity Mode for production

d)

Use On-Demand Capacity Mode for both development and production

29.

You have an application that is served globally using CloudFront Distribution. You want to authenticate users at CloudFront Edge Locations instead of authentication requests going all the way to your origins. What should you use to satisfy this requirement?

a)

Lambda@Edge

b)

API Gateway

c)

DynamoDB

d)

AWS Global Accelerator

30.

The maximum size of an item in a DynamoDB table is ________.

a)

1 MB

b)

400 KB

c)

500 KB

d)

400 MB

31.

Which AWS service allows you to build Serverless workflows using AWS services (e.g., Lambda) and supports human approval?

a)

AWS Lambda

b)

Amazon ECS

c)

AWS Step Functions

d)

AWS Storage Gateway

32.

A company has a serverless application on AWS which consists of Lambda, DynamoDB, and Step Functions. In the last month, there are an increase in the number of requests against the application which results in an increase in DynamoDB costs, and requests started to be throttled. After further investigation, it shows that the majority of requests are read requests against some queries in the DynamoDB table. What do you recommend to prevent throttles and reduce costs efficiently?

a)

Use an EC2 instance with Redis installed and place it between the Lambda function and the DynamoDB table

b)

Migrate from DynamoDB to Aurora and use ElastiCache to cache the most requested read data

c)

Migrate from DynamoDB to S3 and use CloudFront to cache the most requested read data

d)

Use DynamoDB Accelerator (DAX) to cache the most requested read data

33.

You are a DevOps engineer in a football company with a website backed by a DynamoDB table. The table stores viewers’ feedback for football matches. You have been tasked to work with the analytics team to generate reports on the viewers’ feedback. The analytics team wants the data in DynamoDB in JSON format and hosted in an S3 bucket to start working on it and create the reports. What is the best and most cost-effective way to convert DynamoDB data to JSON files?

a)

Select DynamoDB table then select Export to S3

b)

Create a Lambda function to read DynamoDB data, convert them to json files, then store the files in an S3 bucket

c)

Use the AWS Transfer Family

d)

Use AWS DataSync

34.

A website is currently in development and will be hosted on AWS. There is a requirement to store user sessions for users logged in to the website with an automatic expiry and deletion of expired user sessions. Which of the following AWS services are best suited for this use case?

a)
  • Store users’ sessions in an S3 bucket and enable S3 Lifecycle Policy

b)
  • Store users’ sessions locally in an EC2 instance

c)
  • Store users’ sessions in a DynamoDB table and enable TTL

d)
  • Store users’ sessions in an EFS file system

35.

You have a mobile application and would like to give your users access to their own personal space in the S3 bucket. How do you achieve that?

a)

Generate IAM user credentials for each of your application's users

b)

Use Amazon Cognito Identity Federation

c)

Use SAML Identity Federation

d)

Use a Bucket Policy to make your bucket public

36.

You are developing a new web and mobile application hosted on AWS and are working on developing the login and signup page. The application backend is serverless and you are using Lambda, DynamoDB, and API Gateway. Which of the following is the best and easiest approach to configure the authentication for your backend?

a)

Store users' credentials in a DynamoDB

b)

Store users' credentials in an S3 bucket encrypted using KMS

c)

Use Cognito User Pools

d)

Store users' credentials in AWS Secrets Manager

37.

You are running a mobile application where you want each registered user to upload/download images to/from their own folder in the S3 bucket. Also, you want to allow users to sign up and sign in using their social media accounts (e.g., Facebook). Which AWS service should you choose?

a)

AWS Identity and Access Management (IAM)

b)

AWS IAM Identity Center

c)

Amazon Cognito

d)

Amazon CloudFront

38.

You would like to have a database that is efficient at performing analytical queries on large sets of columnar data. You would like to connect to a Data Warehouse using a reporting and dashboard tool such as Amazon QuickSight. Which AWS technology do you recommend?

a)

Amazon RDS

b)

Amazon S3

c)

Amazon Redshift

d)

Amazon Neptune

39.

You have a lot of log files stored in an S3 bucket that you want to analyze, if possible, serverless, to filter and find users that attempted to make an unauthorized action. Which AWS service allows you to do so?

a)

Amazon DynamoDB

b)

Amazon Redshift

c)

S3 Glacier

d)

Amazon Athena

40.

As a Solutions Architect, you have been instructed you to prepare a disaster recovery plan for a Redshift cluster. What should you do?

a)

Enable Multi-AZ

b)

Enable Automated Snapshots, then configure your Redshift cluster to automatically copy snapshots to another AWS Region

c)

Take a snapshot then restore to a a Redshift Global Cluster

41.

Which feature in Redshift forces all COPY and UNLOAD traffic moving between your cluster and data repositories to move through your VPCs?

a)

Enhanced VPC Routing

b)

Improved VPC Routing

c)

Redshift Spectrum

42.

You are running a gaming website that is using DynamoDB as its data store. Users have been asking for a search feature to find other gamers by name, with partial matches if possible. Which AWS technology do you recommend to implement this feature?

a)

Amazon DynamoDB

b)

Amazon Redshift

c)

Amazon OpenSearch Service

d)

Amazon Neptune

43.

________ is an AWS service that allows you to create, run, and monitor ETL (extract, transform, and load) jobs in a few clicks.

a)

AWS Glue

b)

Amazon Redshift

c)

Amazon RDS

d)

Amazon DynamoDB

44.

A company is using AWS to host its public websites and internal applications. Those different websites and applications generate a lot of logs and traces. There is a requirement to centrally store those logs and efficiently search and analyze those logs in real-time for detection of any errors and if there is a threat. Which AWS service can help them efficiently store and analyze logs?

a)

Amazon S3

b)

Amazon OpenSearch Service

c)

Amazon ElastiCache

d)

Amazon QLDB

45.

________ makes it easy and cost-effective for data engineers and analysts to run applications built using open source big data frameworks such as Apache Spark, Hive, or Presto without having to operate or manage clusters.

a)

AWS Lambda

b)

Amazon EMR

c)

Amazon Athena

d)

Amazon OpenSearch Service

46.

An e-commerce company has all its historical data such as orders, customers, revenues, and sales for the previous years hosted on a Redshift cluster. There is a requirement to generate dashboards and reports indicating the revenues from the previous years and the total sales, to easily define requirements for the next year. The DevOps team is assigned to find an AWS service that can help define these dashboards with native integration with Redshift. Which AWS service is best suited?

a)

Amazon OpenSearch Service

b)

Amazon Athena

c)

Amazon QuickSight

d)

Amazon EMR

47.

Which AWS Glue feature allows you to save and track the data that has already been processed during a previous run of a Glue ETL job?

a)
  • Glue Job Bookmarks

b)
  • Glue Elastic Views

c)
  • Glue Streaming ETL

d)
  • Glue DataBrew

48.

You are a DevOps engineer in a machine learning company with 3 TB of JSON files stored in an S3 bucket. There’s a requirement to analyze these files using Amazon Athena and you have been tasked to find a way to convert each file from JSON to Apache Parquet. Which AWS service is best suited?

a)

S3 Object Versioning

b)

Kinesis Data Streams

c)

Amazon MSK

d)

AWS Glue

49.

You have an on-premises application that is used together with an on-premises Apache Kafka to receive a stream of clickstream events from multiple websites. You have been tasked to migrate this application as soon as possible without any code changes. You decided to host the application on an EC2 instance. What is the best option you recommend to migrate Apache Kafka?

a)

Kinesis Data Streams

b)

AWS Glue

c)

Amazon MSK

d)

Kinesis Data Analytics

50.

You have data stored in RDS, S3 buckets and you are using AWS Lake Formation as a data lake to collect, move and catalog data so you can do some analytics. You have a lot of big data and ML engineers in the company and you want to control access to part of the data as it might contain sensitive information. What can you use?

a)

Lake Formation Fine-Grained Access Control

b)

Amazon Cognito

c)

AWS Shield

d)

S3 Object Lock

51.

Which AWS service is most appropriate when you want to perform real-time analytics on streams of data?

a)

Amazon SQS

b)

Amazon SNS

c)

Amazon Kinesis Data Analytics

d)

Amazon Kinesis Data Firehose

52.
What are the two serverless compute options in AWS? Select two
a)
EC2 Instances
b)
Step Functions
c)
AWS Batch
d)
AWS Lambda
e)
Amazon Elastic Container Service
53.

You should use Amazon Transcribe to turn text into lifelike speech using deep learning.

a)

True

b)

False

54.

A company would like to implement a chatbot that will convert speech-to-text and recognize the customers' intentions. What service should it use?

a)

Amazon Transcribe

b)

Amazon Rekognition

c)

Amazon Connect

d)

Amazon Lex

55.

Which fully managed service can deliver highly accurate forecasts?

a)

Amazon Personalize

b)

Amazon SageMaker

c)

Amazon Lex

d)

Amazon Forecast

56.

You want to find objects, people, text, or scenes in images and videos. What AWS service should you use?

a)

Amazon Rekognition

b)

Amazon Polly

c)

Amazon Kendra

d)

Amazon Lex

57.

A start-up would like to rapidly create customized user experiences. Which AWS service can help?

a)

Amazon Personalize

b)

Amazon Kendra

c)

Amazon Connect

58.

A research team would like to group articles by topics using Natural Language Processing (NLP). Which service should they use?

a)

Amazon Translate

b)

Amazon Comprehend

c)

Amazon Lex

d)

Amazon Rekognition

59.

A company would like to convert its documents into different languages, with natural and accurate wording. What should they use?

a)

Amazon Transcribe

b)

Amazon Polly

c)

Amazon Translate

d)

Amazon WordTranslator

60.

A developer would like to build, train, and deploy a machine learning model quickly. Which service can he use?

a)

Amazon SageMaker

b)

Amazon Polly

c)

Amazon Comprehend

d)

Amazon Personalize

61.

Which AWS service makes it easy to convert speech-to-text?

a)

Amazon Connect

b)

Amazon Translate

c)

Amazon Transcribe

d)

Amazon Polly

62.

Which of the following services is a document search service powered by machine learning?

a)

Amazon Forecast

b)

Amazon Kendra

c)

Amazon Comprehend

d)

Amazon Polly

63.

A company is managing an image and video-sharing platform used by customers around the globe. The platform is running on AWS using an S3 bucket to host images and videos and CloudFront as the CDN to deliver content to customers globally with low latency. In the last couple of months, many customers have complained that they have begun to see inappropriate content on the platform in the last week. It will be very expensive and time-consuming for employees to manually approve those images and videos before it's published on the platform. There is a requirement to find a solution that can automatically detect inappropriate and offensive content and give you the ability to set a minimum confidence threshold for items that will be flagged and allow for manual review. Which AWS service can fit the requirement?

a)

Amazon Polly

b)

Amazon Translate

c)

Amazon Lex

d)

Amazon Rekognition

64.

An online medical company that allows you to book an appointment with doctors through a phone call uses AWS to host their infrastructure. They use Amazon Connect and Amazon Lex to receive calls, create workflows, book appointments, and process payments. According to the company’s policy, all calls must be recorded for review. There is a requirement to remove any Personally Identifiable Information (PII) from the call before it's saved. What do you recommend to use to help remove PII from calls?

a)

Amazon Polly

b)

Amazon Transcribe

c)

Amazon Rekognition

d)

Amazon Forecast

65.

Amazon Polly allows you to turn text into speech. It has two important features. First is ________ which allows you to customize the pronunciation of words (e.g., “Amazon EC2” will be “Amazon Elastic Compute Cloud”). The second is ________ which allows you to emphasize words, including breathing sounds, whispering, and more.

a)

Speech Synthesis Markup Language (SSML), Pronunciation Lexicons

b)

Pronunciation Lexicons, Security Assertion Markup Language (SAML)

c)

Pronunciation Lexicons, Speech Synthesis Markup Language (SSML)

d)

Security Assertion Markup Language (SAML), Pronunciation Lexicons

66.

A medical company is in the process of implementing a solution to detect, extract, and analyze information from unstructured medical text like doctors’ notes, clinical trial reports, and radiology reports. Those documents are uploaded and stored on S3 buckets. According to the company’s regulations, the solution must be designed and implemented to keep patients’ privacy by identifying Protected Health Information (PHI) so the solution will be eligible with HIPAA. Which AWS service should you use?

a)

Amazon Comprehend Medical

b)

Amazon Rekognition

c)

Amazon Polly

d)

Amazon Translate

67.

Which of the following services is a full managed, petabyte-scale data warehouse service in the AWS cloud?

a)

Amazon Redshift

b)

Amazon DynamoDB

c)

Amazon ElastiCache

d)

Amazon Aurora