Which of the following AWS services are compute services?
(Select TWO.)
1. AWS Batch
3. AWS Elastic Beanstalk
AWS Batch is correct, it enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS.
AWS Elastic Beanstalk is also correct, it is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
References:
A company is planning to move a number of legacy applications to the AWS Cloud. The solution must be cost-effective.
Which approach should the company take?
2. Rehost the applications on Amazon EC2 instances that are right-sized.
The most cost-effective solution that works is to use Amazon EC2 instances that are right-sized with the most optimum instance types. Right-sizing is the process of ensuring that the instance type selected for each application provides the right amount of resources for the application.
Reference:
Right Sizing
Save time with our AWS cheat sheets.
A Cloud Practitioner anticipates an increase in application traffic at a future date and time when a sales event will take place.
How can the Cloud Practitioner configure Amazon EC2 Auto Scaling to ensure the right number of Amazon EC2 instances are available ahead of the event?
3. Configure a scheduled scaling policy.
Scheduled scaling helps you to set up your own scaling schedule according to predictable load changes. For example, let’s say that every week the traffic to your web application starts to increase on Wednesday, remains high on Thursday, and starts to decrease on Friday. You can configure a schedule for Amazon EC2 Auto Scaling to increase capacity on Wednesday and decrease capacity on Friday.
Reference:
Scheduled scaling for Amazon EC2 Auto Scaling
Save time with our AWS cheat sheets.
A company is planning to deploy an application with a relational database on AWS. The application layer requires access to the database instance’s operating system in order to run scripts.
The company prefer to keep management overhead to a minimum.
Which deployment should be used for the database?
3. Amazon EC2
The company would like to keep management overhead to a minimum so RDS would be good to meet that requirement. However, with RDS you cannot access the operating system so the requirement for running scripts on the OS rules RDS out. Therefore, the next best solution is to deploy on an Amazon EC2 instances as the other options presented are unsuitable for a relational database.
Reference:
Amazon Relational Database Service
Save time with our AWS cheat sheets.
Customers using AWS services must patch operating systems on which of the following services?
2. Amazon EC2
Amazon EC2 is an infrastructure as a service (IaaS) solution. This means the underlying hardware and software layer for running a virtual server are managed for you. As a customer you must then manage the operating system and any software you install. This includes installing patches on the operating system as part of regular maintenance activities.
Reference:
Amazon EC2
Save time with our AWS cheat sheets.
Which AWS feature can be used to launch a pre-configured Amazon Elastic Compute Cloud (EC2) instance?
3. Amazon Machine Image
(AMI)
An Amazon Machine Image (AMI) provides the information required to launch an instance. You must specify an AMI when you launch an instance. You can launch multiple instances from a single AMI when you need multiple instances with the same configuration. You can use different AMIs to launch instances when you need instances with different configurations.
Reference:
Amazon Machine Images in Amazon EC2
Save time with our AWS cheat sheets.
Which of the following AWS features or services can be used to provide root storage volumes for Amazon EC2 instances?
1. Amazon Elastic Block Store
(EBS)
The Amazon Elastic Block Store (EBS) provides block-based storage volumes for Amazon EC2 instances. Root volumes are where the operating system is installed and can be either EBS volumes or instance store volumes.
Reference:
Best Practices: Root Device Storage for Instances
Save time with our AWS cheat sheets.
Which AWS services offer compute capabilities?
(Select TWO.)
2. Amazon ECS
5. AWS Lambda
The Amazon Elastic Container Service (ECS) is a compute service that allows you to run Docker containers as tasks on AWS. AWS Lambda is a function as a service offering that provides the ability to run compute functions in response to triggers.
References:
Save time with our AWS cheat sheets.
What is the function of Amazon EC2 Auto Scaling?
3. Scales the number of EC2 instances in or out automatically, based on demand.
Amazon EC2 Auto Scaling helps you maintain application availability and allows you to automatically add or remove EC2 instances according to conditions you define. You can use the fleet management features of EC2 Auto Scaling to maintain the health and availability of your fleet. You can also use the dynamic and predictive scaling features of EC2 Auto Scaling to add or remove EC2 instances.
Reference:
Amazon EC2 Auto Scaling
Save time with our AWS cheat sheets.
Which Amazon EC2 pricing model should be avoided if a workload cannot accept interruption if capacity becomes temporarily unavailable?
1. Spot Instances
Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices.
The downside is that if capacity becomes temporarily unavailable, your instances may be terminated.
Reference:
Amazon EC2 Spot Instances
Save time with our AWS cheat sheets.
A user has limited knowledge of AWS services, but wants to quickly deploy a scalable Node.js application in an Amazon VPC.
Which service should be used to deploy the application?
2. AWS Elastic Beanstalk
AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
You can simply upload your code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time.
Reference:
AWS Elastic Beanstalk
Save time with our AWS cheat sheets.
How should an organization deploy an application running on multiple EC2 instances to ensure that a power failure does not cause an application outage?
3. Launch the EC2 instances into different Availability Zones
If you have multiple EC2 instances that are part of an application, you should deploy them into separate availability zones (AZs). Each AZ has redundant power and is also fed from a different grid. AZs also have low-latency network links which is often advantageous for most applications.
You do not need to deploy into separate regions to prevent a power outage bringing your application down. AZs have redundant power and grids so you are safe deploying your applications into multiple AZs. If you split your applications across regions you introduce latency which may impact your application. You may also run into data sovereignty issues in some cases.
Deploying your EC2 instances into different VPCs is not required and would complicate your application deployment. Also, bear in mind that VPCs within a region use the same underlying infrastructure so deploying into different VPCs may still result in your EC2 instances being deployed into the same AZs. It is a best practice to deploy into separate AZs.
Reference:
AWS Global Infrastructure
Save time with our AWS cheat sheets.
An Amazon EC2 instance running the Amazon Linux 2 AMI is billed in what increment?
1. Per second
Amazon EC2 instances running Linux are billed in one second increments, with a minimum of 60 seconds.
Reference:
Save time with our AWS cheat sheets.
What are the benefits of using reserved instances?
(Select TWO.)
1. Reduced cost
3. Reserve capacity
With reserved instances you commit to a 1- or 3-year term and get a significant discount from the on-demand rate. You can also reserve capacity in an availability zone with reserved instances.
Reference:
Amazon EC2 Reserved Instances
Save time with our AWS cheat sheets.
How does Amazon EC2 Auto Scaling help with resiliency?
2. By launching and terminating instances as needed
Amazon EC2 Auto Scaling launches and terminates instances as demand changes. This helps with resiliency and high availability as it can also be set to ensure a minimum number of instances are always available.
Reference:
Amazon EC2 Auto Scaling
Save time with our AWS cheat sheets.
An organization moves a workload to Amazon EC2 instances on AWS. Cost-effectiveness is the key to running the workload properly in the Cloud.
What can the company do to meet this requirement?
4. Rightsize all the EC2 instances that are used in the deployment
Rightsizing EC2 instances simply means making sure that the instances you are using are not too large or too small for the workloads they are running. The part of this which is related to cost optimization is ensuring that the EC2 instances provisioned are not too small for the workloads (i.e. you need a m5.2xlarge and you are using an m5.4xlarge instance type. As you simply get billed for the instance you are using and not how many VCPUs you are using, right sizing is a powerful way to optimize cost.
AWS Compute Optimizer is a useful tool that uses machine learning to report on overutilization and underutilization of resources. You can use Compute Optimizer to gather the information needed to rightsize your workloads.
Reference:
AWS Cloud Financial Management
Save time with our AWS cheat sheets.
Which AWS services form the app-facing services of the AWS serverless infrastructure?
(Select TWO.)
2. AWS Lambda
3. Amazon API Gateway
AWS Lambda and Amazon API Gateway are both app-facing components of the AWS Serverless infrastructure.
AWS Step Functions is an orchestration service.
Reference:
Serverless on AWS
Save time with our AWS cheat sheets:
What are two benefits of using AWS Lambda?
(Select TWO.)
1. No servers to manage
3. Continuous scaling (scale out)
With AWS Lambda you don’t have any servers to manage (serverless). Lambda functions scale out rather than up running multiple invocations of the function in parallel.
Reference:
AWS Lambda
Save time with our AWS cheat sheets.
With which service can a developer upload code using a ZIP or WAR file and have the service handle the end-to-end deployment of the resources?
2. AWS Elastic Beanstalk
AWS Elastic Beanstalk can be used to quickly deploy and manage applications in the AWS Cloud. Developers upload applications and Elastic Beanstalk handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.
You can upload code directly using a ZIP or WAR file. You can also use a Git archive.
Reference:
Create an Elastic Beanstalk application source bundle
Save time with our AWS cheat sheets.
Which service can you use to monitor, store and access log files generated by EC2 instances and on-premises servers?
3. Amazon CloudWatch Logs
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, AWS CloudTrail, Route 53, and other sources. You can then retrieve the associated log data from CloudWatch Logs.
Reference:
What is Amazon CloudWatch Logs?
Save time with our AWS cheat sheets.
What offerings are included in the Amazon Lightsail product set?
(Select TWO.)
1. Virtual Private Server
3. Managed MySQL database
Amazon LightSail provides an easy, low cost way to consume cloud services without needing the skill set for using VPC resources. The product set includes virtual private servers (instances), managed MySQL databases, block and object storage, simplified load balancers, and CDN distributions.
Reference:
Amazon Lightsail features
Save time with our AWS cheat sheets.
Which service allows an organization to bring their own licensing on host hardware that is physically isolated from other AWS accounts?
3. EC2 Dedicated Hosts
An Amazon EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use. Dedicated Hosts allow you to use your existing per-socket, per-core, or per-VM software licenses, including Windows Server, Microsoft SQL Server, SUSE, Linux Enterprise Server, and so on.
Reference:
Amazon EC2 Dedicated Hosts
Save time with our AWS cheat sheets.