AWS Cloud Practitioner Flashcards
What are six Advantages of Cloud Computing?
- Trade capital expense for variable expense
- Benefit from massive economies of scale
- Stop guessing capacity
- Increase speed and agility
- Stop spending money running and maintaining data centers
- Go global in minutes
What Models Cloud Computing provides?
- Infrastructure as a Service (IaaS)
- Platform as a Service (PaaS)
- Software as a Service (SaaS)
What Deployment Models Cloud Computing defines?
- Cloud
- Hybrid
- On-premises
What is cloud computing?
On-demand delivery of IT resources and applications through the internet with pay-as-you-go pricing
What is another name for on-premises deployment?
Private cloud deployment
How does the scale of cloud computing help you to save costs?
The aggregated cloud usage from a large number of customers results in lower pay-as-you-go prices.
What types of Amazon EC2 instance are available?
- General purpose instances
- Compute optimized instances - compute optimized applications are ideal for high-performance web servers, compute-intensive applications servers, and dedicated gaming servers or batch processing workloads.
- Memory optimized instances - idela for high-performance database or a workload that involves performing real-time processing of a large amount of unstructured data
- Accelerated computing instances - ideal for workloads such as graphics applications, game streaming, and application streaming
- Storage optimized instances - workloads suitable for storage optimized instances include distributed file systems, data warehousing applications, and high-frequency online transaction processing (OLTP) systems
What type of pricing Amazon EC2 have?
- On-Demand - ideal for short-term, irregular workloads that cannot be interrupted, you pay for only the compute time you use.
- Amazon EC2 Savings Plans - you to reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term.
- Reserved Instances - You can purchase Standard Reserved and Convertible Reserved Instances for a 1-year or 3-year term, and Scheduled Reserved Instances for a 1-year term
- Spot Instances - ideal for workloads with flexible start and end times, or that can withstand interruptions. Spot Instances use unused Amazon EC2 computing capacity
- Dedicated Hosts - physical servers with Amazon EC2 instance capacity that is fully dedicated to your use. Most expensive.
Which AWS service provides scaling of computing resources?
Amazon EC2 Auto Scaling
Within Amazon EC2 Auto Scaling, what are the two possible approaches?
- Dynamic scaling: responds to changing demand.
- Predictive scaling: automatically schedules the right number of Amazon EC2 instances based on predicted demand.
It is possible to use dynamic scaling and predictive scaling together.
What are the three parameter for an Auto Scaling Group?
- Minimum capacity
- Desired capacity (If not set, will be set equat to minimum capacity)
- Maximum capacity
Which is the AWS service that automatically distributes incoming application traffic across multiple resources
Elastic Load Balancing or ELB.
Although Elastic Load Balancing and Amazon EC2 Auto Scaling are separate services, they work together to help ensure that applications running in Amazon EC2 can provide high performance and availability
Which are the two AWS services about messaging and queuing?
- Amazon Simple Notification Service (Amazon SNS) - publish/subscribe service. Using Amazon SNS topics, a publisher publishes messages to subscribers. In Amazon SNS, subscribers can be web servers, email addresses, AWS Lambda functions, or several other options
- Amazon Simple Queue Service (Amazon SQS) - using Amazon SQS, you can send, store, and receive messages between software components, without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue
What is Serverless computing?
The term “serverless” means that your code runs on servers, but you do not need to provision or manage these servers.
Serverless computing can adjust the applications’ capacity by modifying the units of consumptions, such as throughput and memory.
Which are the AWS basic serverless services?
- AWS Lambda - is a service that lets you run code without needing to provision or manage servers. you pay only for the compute time that you consume. The code will run only when triggered on predefined events
- Amazon Elastic Container Service (Amazon ECS) - highly scalable, high-performance container management system that enables you to run and scale containerized applications on AWS
- Amazon Elastic Kubernetes Service (Amazon EKS) - a fully managed service that you can use to run Kubernetes on AWS
which is a serverless compute engine for containers in AWS?
AWS Fargate. It is compatible with both Amazon ECS and Amazon EKS. Use cases:
1. Run and scale container workloads
2. Support AI and ML training applications
3. removes the need to manage the lifecycle of a compute infrastructure for Web apps, APIs, and microservices
Show some examples of Auto scaling
- Removing unneeded Amazon EC2 instances when demand is low
- Adding a second Amazon EC2 instance during an online store’s popular sale
- Automatically adjusting the number of Amazon EC2 instances to meet demand
Which process is an example of Elastic Load Balancing?
Ensuring that no single Amazon EC2 instance has to carry the full workload on its own
What are the features of ELB?
ELB is a regional construct in Amazon architecture
What are the key factors for Selecting a Region?
- Compliance with data governance and legal requirements
- Proximity to your customers
- Available services within a Region
- Pricing
What is an Availability zone?
An Availability Zone is a single data center or a group of data centers within a Region
What is a Region in AWS?
A Region is a geographical area that contains AWS resources.
A Region is a separate geographical location with multiple locations that are isolated from each other.
What is an edge location?
An edge location is a data center that an AWS service uses to perform service-specific operations. Amazon CloudFront uses edge locations to store cached copies of your content closer to your customers for faster delivery
What is AWS Outposts?
AWS Outposts is a service that you can use to run AWS infrastructure, services, and tools in your own on-premises data center in a hybrid approach.
In which ways is it possible to interact with AWS services?
- AWS Management Console - web-based interface for accessing and managing AWS services
- AWS Command Line Interface (AWS CLI) - AWS CLI is available for users on Windows, macOS, and Linux; is used to automate actions for AWS services and applications through scripts
- AWS Software development kits (SDKs) - SDKs enable you to use AWS services with your existing applications or create entirely new applications that will run on AWS
How is it possible to provision resources in AWS?
- AWS Management Console
- AWS CLI
- AWS SDK
- AWS Elastic Beanstalk - a service that helps you provision Amazon EC2-based environments
- AWS CloudFormation - is an infrastructure as code tool that allows you to define a wide variety of AWS resources in a declarative way using JSON or YAML text-based documents
Which tasks are available with AWS Elastic Beanstalk?
Elastic Beanstalk deploys the resources necessary to perform the following tasks:
- Adjust capacity
- Load balancing
- Automatic scaling
- Application health monitoring
What is AWS CloudFormation?
AWS CloudFormation is an infrastructure as code tool
What is an Availability zone?
An Availability Zone is a fully isolated portion of the AWS global infrastructure.
What is Amazon Virtual Private Cloud (Amazon VPC)?
A networking service that you can use to establish boundaries around your AWS resources.
What is an Amazon subnet?
A subnet is a section of a VPC that can contain resources such as Amazon EC2 instances.
In which way traffic can access a VPC?
- Internet Gateway - a connection between a VPC and the internet. Without an internet gateway, no one can access the resources within your VPC.
- Virtual private Gateway - a component that allows protected internet traffic to enter into the VPC.
- AWS direct Connect - AWS Direct Connect provides helps you to reduce network costs and increase the amount of bandwidth that can travel through your network.
What is Network access control lists (ACLs) in AWS?
A network access control list (ACL) is a virtual firewall that controls inbound and outbound traffic at the subnet level.
It is stateless and allows all inbound and outbound traffic by default.
What are Security groups in AWS?
A security group is a virtual firewall that controls inbound and outbound traffic for an Amazon EC2 instance.
It is stateful and denies all inbound and outbound traffic by default.