Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AWS Arch

Total questions: 26

Worksheet time: 1hrs 18mins

Name
Class
Date
1.

A financial company instructed you to automate the recurring tasks in your department such as patch management, infrastructure selection, and data synchronization to improve their current processes. You need to have a service which can coordinate multiple AWS services into serverless workflows.

Which of the following is the most cost-effective service to use in this scenario?

a)

AWS Step Functions

b)

SWF

c)

AWS Batch

d)

AWS Lambda

2.

A data analytics company, which uses machine learning to collect and analyze consumer data, is using Redshift cluster as their data warehouse. You are instructed to implement a disaster recovery plan for their systems to ensure business continuity even in the event of an AWS region outage.

Which of the following is the best approach to meet this requirement?

a)

Use Automated snapshots of your Redshift Cluster.

b)

Do nothing because Amazon Redshift is a highly available, fully-managed data warehouse which can withstand an outage of an entire AWS region.

c)

Create a scheduled job that will automatically take the snapshot of your Redshift Cluster and store it to an S3 bucket. Restore the snapshot in case of an AWS region outage.

d)

Enable Cross-Region Snapshots Copy in your Amazon Redshift Cluster.

3.

Your IT Manager instructed you to set up a bastion host in the cheapest, most secure way, and that you should be the only person that can access it via SSH.

Which of the following steps would satisfy your IT Manager's request?

a)

Set up a large EC2 instance and a security group which only allows access on port 22

b)

Set up a small EC2 instance and a security group which only allows access on port 22 via your IP address

c)

Set up a small EC2 instance and a security group which only allows access on port 22

d)

Set up a large EC2 instance and a security group which only allows access on port 22 via your IP address

4.

The social media company that you are working for needs to capture the detailed information of all HTTP requests that went through their public-facing application load balancer every five minutes. They want to use this data for analyzing traffic patterns and for troubleshooting their web applications in AWS.

Which of the following options meet the customer requirements?

a)

Enable access logs on the application load balancer.

b)

Add an Amazon CloudWatch Logs agent on the application load balancer.

c)

Enable Amazon CloudWatch metrics on the application load balancer.

d)

Enable AWS CloudTrail for their application load balancer.

5.

A multinational company has been building its new data analytics platform with high-performance computing workloads (HPC) which requires a scalable, POSIX-compliant storage service. The data need to be stored redundantly across multiple AZs and allows concurrent connections from thousands of EC2 instances hosted on multiple Availability Zones.

Which of the following AWS storage service is the most suitable one to use in this scenario?

a)

Elastic File System

b)

ElastiCache

c)

Amazon S3

d)

EBS Volumes

6.

You are setting up the required compute resources in your VPC for your application which have workloads that require high, sequential read and write access to very large data sets on local storage.

Which of the following instance type is the most suitable one to use in this scenario?

a)

Compute Optimized Instances

b)

General Purpose Instances

c)

Memory Optimized Instances

d)

Storage Optimized Instances

7.

You have designed and built a new AWS architecture. After deploying your application to an On-demand EC2 instance, you found that there is an issue in your application when connecting to port 443. After troubleshooting the issue, you added port 443 to the security group of the instance.

How long will it take before the changes are applied to all of the resources in your VPC?

a)

It takes exactly one minute for the rules to apply to all availability zones within the AWS region.

b)

Roughly around 5-8 minutes for the security rules to propagate.

c)

Immediately.

d)

Immediately after a reboot of the EC2 instances which belong to that security group.

8.

An event sourcing application is to be implemented using a microservice architecture on AWS. Each microservice consists of an API Gateway, AWS Lambda, and Amazon DynamoDB. The application will initialize when the first microservice publishes an event to an event store, then proceeds by consuming the data in the second microservice.

As a Solutions Architect, which of the following architectures should be followed?

a)

Configure the first microservice to send data to an Amazon SQS queue, then send the event log to an Amazon S3 bucket. Modify the second microservice to fetch data from the queue.

b)

Configure the first microservice to send data to Amazon S3 bucket. Modify the second microservice to fetch data from the bucket.

c)

Configure the first microservice to send data to Amazon Kinesis Data Firehose stream, then send the event log to an Amazon S3 bucket. Modify the second microservice to fetch data from the Kinesis stream.

d)

Configure the first microservice to send data to Amazon SNS topic, then send the event log to an Amazon S3 bucket. Modify the second microservice to fetch data from the topic.

9.

You are working as a Principal Solutions Architect for a leading digital news company which has both an on-premises data center as well as an AWS cloud infrastructure. They store their graphics, audios, videos, and other multimedia assets primarily in their on-premises storage server and use an S3 Standard storage class bucket as a backup. Their data are heavily used for only a week (7 days) but after that period, it will only be infrequently used by their customers. You are instructed to save storage costs in AWS yet maintain the ability to fetch a subset of their media assets in a matter of minutes for a surprise annual data audit, which will be conducted on their cloud storage.

Which of the following are valid options that you can implement to meet the above requirement? (Select TWO.)

a)

Set a lifecycle policy in the bucket to transition the data to Glacier after one week (7 days).

b)

Set a lifecycle policy in the bucket to transition the data to S3 - One Zone-Infrequent Access storage class after one week (7 days).

c)

Set a lifecycle policy in the bucket to transition the data to S3 Glacier Deep Archive storage class after one week (7 days).

d)

Set a lifecycle policy in the bucket to transition to S3 - Standard IA after 30 days

e)

Set a lifecycle policy in the bucket to transition the data to S3 - Standard IA storage class after one week (7 days).

10.

A company has an application hosted in an Auto Scaling group of Amazon EC2 instances across multiple Availability Zones behind an Application Load Balancer. There are several occasions where some instances are automatically terminated after failing the HTTPS health checks in the ALB and then purges all the ephemeral logs stored in the instance. A Solutions Architect must implement a solution that collects all the application and server logs effectively. She should be able to perform a root cause analysis based on the logs, even if the Auto Scaling group immediately terminated the instance.

What is the EASIEST way for the Architect to automate the log collection from the Amazon EC2 instances?

a)

Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Pending:Wait state to delay the termination of the unhealthy Amazon EC2 instances. Configure a CloudWatch Events rule for the EC2 Instance-terminate Lifecycle Action Auto Scaling Event with an associated Lambda function. Set up an AWS Systems Manager Automation script that collects and uploads the application logs from the instance to a CloudWatch Logs group. Configure the solution to only resume the instance termination once all the logs were successfully sent.

b)

Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state to delay the termination of unhealthy Amazon EC2 instances. Configure a CloudWatch Events rule for the EC2 Instance-terminate Lifecycle Action Auto Scaling Event with an associated Lambda function. Trigger the CloudWatch agent to push the application logs and then resume the instance termination once all the logs are sent to CloudWatch Logs.

c)

Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state to delay the termination of the unhealthy Amazon EC2 instances. Set up AWS Step Functions to collect the application logs and send them to a CloudWatch Log group. Configure the solution to resume the instance termination as soon as all the logs were successfully sent to CloudWatch Logs.

d)

Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state to delay the termination of the unhealthy Amazon EC2 instances. Configure a CloudWatch Events rule for the EC2 Instance Terminate Successful Auto Scaling Event with an associated Lambda function. Set up the AWS Systems Manager Run Command service to run a script that collects and uploads the application logs from the instance to a CloudWatch Logs group. Resume the instance termination once all the logs are sent.

11.

You are building a prototype for a cryptocurrency news website of a small startup. The website will be deployed to a Spot EC2 Linux instance and will use Amazon Aurora as its database. You requested a spot instance at a maximum price of $0.04/hr which has been fulfilled immediately and after 90 minutes, the spot price increases to $0.06/hr and then your instance was terminated by AWS.

In this scenario, what would be the total cost of running your spot instance?

a)

$0.00

b)

$0.06

c)

$0.08

d)

$0.07

12.

A company is looking to store their confidential financial files in AWS which are accessed every week. The Architect was instructed to set up the storage system which uses envelope encryption and automates key rotation. It should also provide an audit trail which shows who used the encryption key and by whom for security purposes.

Which of the following should the Architect implement to satisfy the requirement in the most cost-effective way? (Select TWO.)

a)

Configure Server-Side Encryption with AWS KMS-Managed Keys (SSE-KMS).

b)

Use Amazon S3 Glacier Deep Archive to store the data.

c)

Configure Server-Side Encryption with Amazon S3-Managed Keys (SSE-S3).

d)

Amazon Certificate Manager

e)

Use Amazon S3 to store the data.

13.

A web application always requires a minimum of six Amazon Elastic Compute Cloud (EC2) instances running . You are tasked to deploy the application to three availability zones in the EU Ireland region (eu-west-1a, eu-west-1b, and eu-west-1c). It is required that the system is fault-tolerant up to the loss of one Availability Zone.

Which of the following setup is the most cost-effective solution which also maintains the fault-tolerance of your system?

a)

6 instances in eu-west-1a, 6 instances in eu-west-1b, and no instances in eu-west-1c

b)

3 instances in eu-west-1a, 3 instances in eu-west-1b, and 3 instances in eu-west-1c

c)

2 instances in eu-west-1a, 2 instances in eu-west-1b, and 2 instances in eu-west-1c

d)

6 instances in eu-west-1a, 6 instances in eu-west-1b, and 6 instances in eu-west-1c

14.

A data analytics company has been building its new generation big data and analytics platform on their AWS cloud infrastructure. They need a storage service that provides the scale and performance that their big data applications require such as high throughput to compute nodes coupled with read-after-write consistency and low-latency file operations. In addition, their data needs to be stored redundantly across multiple AZs and allows concurrent connections from multiple EC2 instances hosted on multiple AZs.

Which of the following AWS storage services will you use to meet this requirement?

a)

EFS

b)

S3

c)

EBS

d)

Glacier

15.

You are designing a banking portal which uses Amazon ElastiCache for Redis as its distributed session management component. Since the other Cloud Engineers in your department have access to your ElastiCache cluster, you must secure the session data in the portal by requiring them to enter a password before they are granted permission to execute Redis commands.

As the Solutions Architect, which of the following should you do to meet the above requirement?

a)

Set up an IAM Policy and MFA which requires the Cloud Engineers to enter their IAM credentials and token before they can access the ElastiCache cluster.

b)

Set up a Redis replication group and enable the AtRestEncryptionEnabled parameter.

c)

Authenticate the users using Redis AUTH by creating a new Redis Cluster with both the --transit-encryption-enabled and --auth-token parameters enabled.

d)

Enable the in-transit encryption for Redis replication groups.

16.

A startup is in a hurry to build an API for their mobile app to compete with their rival company. Based on their technical requirements, you recommended to build a serverless architecture instead of typically hosting the API in an EC2 instance. Which of the following AWS Services can you use to build and run serverless applications? (Choose 2)

a)

AWS API Gateway

b)

AWS Lambda

c)

ECS

d)

Reserved EC2 Instances

e)

SWD

17.

In your AWS VPC, you need to add a new subnet that will allow you to host a total of 20 EC2 instances. Which of the following IPv4 CIDR block can you use for this scenario?

a)

172.0.0.0/27

b)

172.0.0.0/28

c)

172.0.0.0/29

d)

172.0.0.0/30

18.

You have a new e-commerce web application written in Angular framework which is deployed to a fleet of EC2 instances behind an Application Load Balancer. You configured the load balancer to perform health checks on these EC2 instances. What will happen if one of these EC2 instances failed the health checks?

a)

The EC2 instance is replaced automatically by the Application Load Balancer.

b)

The EC2 instance gets terminated automatically by the Application Load Balancer.

c)

The EC2 instance gets quarantined by the Application Load Balancer for root cause analysis.

d)

The Application Load Balancer stops sending traffic to the instance that failed its health check.

19.

You are a Solutions Architect for a leading Enterprise Resource Planning (ERP) solutions provider, and you are instructed to design and set up the architecture of your ERP application in AWS. Your manager instructed you to avoid using fully-managed AWS services and instead, only use specific services which allows you to access the underlying operating system for the resource. This is to allow the company to have a much better control of the underlying resources that their systems are using in the AWS cloud.

Which of the following services should you choose to satisfy this requirement? (Select TWO.)

a)

Amazon EC2

b)

Amazon Athena

c)

DynamoDB

d)

Amazon Neptune

e)

Amazon EMR

20.

You are setting up a configuration management in your existing cloud architecture where you must deploy and manage your EC2 instances including the other AWS resources using Chef and Puppet. Which of the following is the most suitable service to use in this scenario?

a)

AWS OpsWorks

b)

AWS Elastic Beanstalk

c)

AWS CloudFormation

d)

AWS CodeDeploy

21.

You are working as a Solutions Architect in a startup company which has a project that requires a notification service. You are planning to use Amazon SNS as it uses a publish/subscribe model for push delivery of messages.

What are the different delivery formats or transports available for receiving notifications from this service? (Choose 2)

a)

Email

b)

CloudFront distribution

c)

File Transfer Protocol

d)

Short Message Service

e)

Simple Network Management Protocol

22.

You are instructed by your manager to create a publicly accessible EC2 instance by using an Elastic IP (EIP) address and to give him a report on how much it will cost to use that EIP.

Which of the following statements is correct regarding the pricing of EIP?

a)

There is no cost if the instance is terminated and it has only one associated EIP.

b)

There is no cost if the instance is running and it has only one associated EIP.

c)

There is no cost if the instance is stopped and it has only one associated EIP.

d)

There is no cost if the instance is running and it has at least two associated EIP.

23.

You are a Solutions Architect working for a startup which is currently migrating their production environment to AWS. Your manager asked you to set up access to the AWS console using Identity Access Management (IAM). Using the AWS CLI, you have created 5 users for your systems administrators.

What further steps do you need to take for your systems administrators to get access to the AWS console?

a)

Enable multi-factor authentication on their accounts and define a password policy.

b)

Add the administrators to the Security Group.

c)

Provide a password for each user created and give these passwords to your system administrators.

d)

Provide the system administrators the secret access key and access key id.

24.

You are working for a multinational telecommunications company. Your IT Manager is willing to consolidate their log streams including the access, application, and security logs in one single system. Once consolidated, the company wants to analyze these logs in real-time based on heuristics. There will be some time in the future where the company will need to validate heuristics, which requires going back to data samples extracted from the last 12 hours.

What is the best approach to meet this requirement?

a)

First, send all the log events to Amazon SQS then set up an Auto Scaling group of EC2 servers to consume the logs and finally, apply the heuristics.

b)

First, configure Amazon Cloud Trail to receive custom logs and then use EMR to apply heuristics on the logs.

c)

First, set up an Auto Scaling group of EC2 servers then store the logs on Amazon S3 then finally, use EMR to apply heuristics on the logs.

d)

First, send all the log events to Amazon Kinesis then afterwards, develop a client process to apply heuristics on the logs.

25.

You are setting up the cloud architecture for an international money transfer service to be deployed in AWS which will have thousands of users around the globe. The service should be available 24/7 to avoid any business disruption and should be resilient enough to handle the outage of an entire AWS region. To meet this requirement, you have deployed your AWS resources to multiple AWS Regions. You need to use Route 53 and configure it to set all your resources to be available all the time as much as possible. When a resource becomes unavailable, your Route 53 should detect that it's unhealthy and stop including it when responding to queries.

Which of the following is the most fault tolerant routing configuration that you should use in this scenario?

a)

Configure an Active-Active Failover with One Primary and One Secondary Resource.

b)

Configure an Active-Active Failover with Weighted routing policy.

c)

Configure an Active-Passive Failover with Multiple Primary and Secondary Resources.

d)

Configure an Active-Passive Failover with Weighted Records.

26.

You are working as an IT Consultant for a large investment bank that generates large financial datasets with millions of rows. The data must be stored in a columnar fashion to reduce the number of disk I/O requests and reduce the amount of data needed to load from the disk. The bank has an existing third-party business intelligence application which will connect to the storage service and then generate daily and monthly financial reports for its clients around the globe.

In this scenario, which is the best storage service to use to meet the requirement?

a)

Amazon Redshift

b)

Amazon RDS

c)

DynamoDB

d)

Amazon Aurora