AWS Certified Cloud Practitioner 2020 Flashcards
What are the Six Advantages of Cloud Computing?
- Trade fixed 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 is Infrastructure as a Service (IaaS)?
Infrastructure as a Service (IaaS) contains the basic building blocks for cloud IT and typically provides access to networking features, computers (virtual or on dedicated hardware), and data storage space.
e.g. EC2
What is Platform as a Service (PaaS)?
Platform as a Service (PaaS) removes the need for your organization to manage the underlying infrastructure (usually hardware and operating systems) and allows you to focus on the deployment and management of your applications.
e.g. Elastic Beanstalk, Amazon Lightsail
What is Software as a Service (SaaS)?
Software as a Service (SaaS) provides you with a completed product that is run and managed by the service provider.
e.g. GMail
What does Public Cloud mean?
A cloud-based application is fully deployed in the cloud and all parts of the application run in the cloud.
What does Hybrid cloud mean?
A hybrid deployment is a way to connect infrastructure and applications between cloud-based resources and existing resources that are not located in the cloud.
What does On-premises cloud mean?
The deployment of resources on-premises, using virtualization and resource management tools, is sometimes called the “private cloud.”
What defines an AWS Region?
- An AWS Region is a physical location in the world where we have multiple Availability Zones. Each Availability Zone is isolated, but the Availability Zones in a Region are connected through low-latency links.
- Each Amazon Region is designed to be completely isolated from the other Amazon Regions.
What is an Availability Zone?
- Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. These Availability Zones offer you the ability to operate production applications and databases that are more highly available, fault tolerant, and scalable than would be possible from a single data center.
- Each Availability Zone is designed as an independent failure zone.
AWS Cloud Compliance supports what standards
- SOC 1/ISAE 3402, SOC 2, SOC 3
- FISMA, DIACAP, and FedRAMP
- PCI DSS Level 1
- ISO 9001, ISO 27001, ISO 27017, ISO 27018
Why choose a particular AWS region?
- Data sovereignty laws - where can the data legally be kept?
- Latency to end users
- Availability of AWS services in the region
What support plans exist?
- Basic - free
- Developer - 29/mo, scales
- Business - 100/mo, scales
- Enterprise - 15k/mo, scales - Get a TAM (Technical Account Manager)
Which support plan gets you a TAM?
Enterprise - 15k/mo, scales
What is CloudWatch?
- All about performance (analogy is personal trainer)
- Can monitor most of AWS
- Monitors your AWS resources and the applications they run
- Can create alarms which trigger notifications
What Cloudwatch monitoring periods exist for EC2?
Every 5 minutes by default
Every 1 minute for detailed monitoring
Is IAM global or regional?
Global
3 ways user can access AWS
- AWS management console
- Command Line Interface (CLI) - requires access key ID and secret access key
- Amazon SDK
IAM policies are which format?
JSON
IAM policies are applied in what structure?
Groups
IAM best practices
- Only use root account to create other accounts
- 1 user = 1 human, no phantom users
- Always place users in groups and apply policies at the group level
- Strong password policies
- Always use MFA
- Use roles to access other AWS services
- Use access keys for programmatic access to AWS
- Use IAM credential reports to audit
What is AWS credential reports?
Audit the permissions of users/accounts
S3 suited for what storage uses?
Object-based storage, for flat files (Not suitable for an OS)
Files can be 0-5TB in size
Unlimited storage
Namespace of S3 buckets?
universal namespace!
How to know if S3 upload successful?
HTTP 200
S3 data consistency model
read after write consistency for puts of new objects
eventual consistency for overwrite puts and deletes
Where are S3 buckets stored? Where can they be accessed?
Buckets do exist in regions, but can be accessed globally
Can replicate bucket in one region to bucket in another region using cross region replication
How does S3 scale?
S3 scales automatically to meet demand
What is S3 Transfer acceleration?
upload to edge location in your region, propagated to other regions using the AWS backbone
What is an Edge location?
place where content is cached for fast access (think CloudFront)
Note: you can also write (put an object) to an edge location (i.e. Transfer Acceleration)
What is the best practice for S3 access control?
S3 bucket policies or IAM policies are recommended for access control
What are the S3 storage classes?
Amazon S3 Standard (S3 Standard)
Amazon S3 Intelligent-Tiering (S3 Intelligent-Tiering)
Amazon S3 Standard-Infrequent Access (S3 Standard-IA)
Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)
Amazon S3 Glacier Instant Retrieval
Amazon S3 Glacier Flexible Retrieval (Formerly S3 Glacier)
Amazon S3 Glacier Deep Archive
Characteristics of S3 standard
Low latency and high throughput performance
Designed for durability of 99.999999999% of objects across multiple Availability Zones
Resilient against events that impact an entire Availability Zone
Designed for 99.99% availability over a given year
Backed with the Amazon S3 Service Level Agreement for availability
Supports SSL for data in transit and encryption of data at rest
S3 Lifecycle management for automatic migration of objects to other S3 Storage Classes
Characteristics of Amazon S3 Intelligent-Tiering (S3 Intelligent-Tiering)
- Automatically moves data to the most cost-effective tier
Frequent, Infrequent, and Archive Instant Access tiers have the same low-latency and high-throughput performance of S3 Standard - The Infrequent Access tier saves up to 40% on storage costs
- The Archive Instant Access tier saves up to 68% on storage costs
- Opt-in asynchronous archive capabilities for objects that become rarely accessed
- Deep Archive Access tier has the same performance as - Glacier Deep Archive and saves up to 95% for rarely accessed objects
- Designed for durability of 99.999999999% of objects across multiple Availability Zones and for 99.9% availability over a given year
- Backed with the Amazon S3 Service Level Agreement for availability
- Small monthly monitoring and auto tiering charge
- No operational overhead, no lifecycle charges, no retrieval charges, and no minimum storage duration
- Objects smaller than 128KB can be stored in S3 Intelligent-Tiering but will always be charged at the Frequent Access tier rates, and are not charged the monitoring and automation charge.
Characteristics of Amazon S3 Standard-Infrequent Access (S3 Standard-IA)
- Infrequent access, but require rapid access - lower fee, but charged a retrieval fee
- Same low latency and high throughput performance of S3 Standard
- Designed for durability of 99.999999999% of objects across multiple Availability Zones
- Resilient against events that impact an entire Availability Zone
- Data is resilient in the event of one entire Availability Zone destruction
- Designed for 99.9% availability over a given year
- Backed with the Amazon S3 Service Level Agreement for availability
- Supports SSL for data in transit and encryption of data at rest
- S3 Lifecycle management for automatic migration of objects to other S3 Storage Classes
Characteristics of Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)
- Low cost, do not require multiple availability zone data resilience
- Same low latency and high throughput performance of S3 Standard
- Designed for durability of 99.999999999% of objects in a single Availability Zone†
- Designed for 99.5% availability over a given year
- Backed with the Amazon S3 Service Level Agreement for availability
- Supports SSL for data in transit and encryption of data at rest
- S3 Lifecycle management for automatic migration of objects to other S3 Storage Classes
Characteristics of Amazon S3 Glacier Deep Archive
Data retrieval in milliseconds with the same performance as S3 Standard
Designed for durability of 99.999999999% of objects across multiple Availability Zones
Data is resilient in the event of the destruction of one entire Availability Zone
Designed for 99.9% data availability in a given year
128 KB minimum object size
Backed with the Amazon S3 Service Level Agreement for availability
S3 PUT API for direct uploads to S3 Glacier Instant Retrieval, and S3 Lifecycle management for automatic migration of objects
Characteristics of Amazon S3 Glacier Flexible Retrieval (Formerly S3 Glacier)
Competitive with costs of on-prem solutions
Designed for durability of 99.999999999% of objects across multiple Availability Zones
Data is resilient in the event of one entire Availability Zone destruction
Supports SSL for data in transit and encryption of data at rest
Ideal for backup and disaster recovery use cases when large sets of data occasionally need to be retrieved in minutes, without concern for costs
Configurable retrieval times, from minutes to hours, with free bulk retrievals
S3 PUT API for direct uploads to S3 Glacier Flexible Retrieval, and S3 Lifecycle management for automatic migration of objects
Characteristics of Amazon S3 Glacier Deep Archive
Designed for durability of 99.999999999% of objects across multiple Availability Zones
Lowest cost storage class designed for long-term retention of data that will be retained for 7-10 years
Ideal alternative to magnetic tape libraries
Retrieval time within 12 hours
S3 PUT API for direct uploads to S3 Glacier Deep Archive, and S3 Lifecycle management for automatic migration of objects
What is S3 Outposts?
store your S3 data on premises
S3 Object compatibility and bucket management through the S3 SDK
Designed to durably and redundantly store data on your Outposts
Encryption using SSE-S3 and SSE-C
Authentication and authorization using IAM, and S3 Access Points
Transfer data to AWS Regions using AWS DataSync
S3 Lifecycle expiration actions
Characteristics of Amazon S3 Glacier Instant Retrieval
Data retrieval in milliseconds with the same performance as S3 Standard
Designed for durability of 99.999999999% of objects across multiple Availability Zones
Data is resilient in the event of the destruction of one entire Availability Zone
Designed for 99.9% data availability in a given year
128 KB minimum object size
Backed with the Amazon S3 Service Level Agreement for availability
S3 PUT API for direct uploads to S3 Glacier Instant Retrieval, and S3 Lifecycle management for automatic migration of objects
How does S3 versioning work?
Stores all versions of an object, even if you delete
Great for backup
Versioning can be suspended, but not disabled; existing versions remain
Integrates with lifecycle rules
Can require MFA in order to delete
How can you restrict S3 bucket access?
Bucket policies
Object policies
IAM policies to users and groups
Characteristics of CloudFront
Amazon’s CDN
Origin - The origin of the files
Distribution - collection of edge locations
First user forces a download of the file from origin to edge location - stays in cache until TTL (default is 24 hours in seconds)
2 types
- web distribution
- RTMP - used for media streaming (like Adobe Flash) - not used much anymore
You can clear cached objects, but you will be charged for it
Name common compute services
EC2 - Secure and resizeable compute capacity (virtual servers) in the cloud
Lightsail - Easy-to-use cloud platform that offers you everything you need to build an application or website
Lambda - Run code without thinking about servers. Pay only for the compute time you consume.
Batch - Fully managed batch processing at any scale
Elastic Beanstalk - Easy-to-use service for deploying and scaling web applications and services
Serverless Application Repository - quickly deploy code samples, components, and complete applications for common use cases such as web and mobile back-ends, event and data processing, logging, monitoring, IoT, and more.
AWS Outposts - Run AWS infrastructure and services on premises for a truly consistent hybrid experience
EC2 Image Builder - Build and maintain secure Linux or Windows Server images
What are the EC2 types?
On Demand: Pay fixed rate by the hour or by the second
Reserved: Includes a capacity reservation, but with a significant discount on the hourly rate. 1 or 3 year contract terms. Max discount for longest time and paying immediately
Spot: Bid a price (per hour) for an instance capacity. Greater savings if you have flexible start and end times
Dedicated Hosts: Physical EC2 server dedicated for your use. Reduced costs when you use your existing server-bound software licenses
What’s an EC2 AMI?
AMI (Amazon Machine Image) - e.g. VM snapshot