AWS SAA IAM,S3,EC2 Flashcards
What is a AWS region ?
A physical location in the world that consists of two or more Availability Zones
What is a Availibility Zone ?
One or more descrete data centers in a region
What are edge locations ?
Edge Locations are smaller data centers used to cache your content to improve latency. They are usually closer to your user. The are used through AWS cloudfront and other services
What is the shared responsibility model?
It is a framework for defining the division of responsibility between AWS and the Us.
Under the share responsibility model what are we responsible for and what is AWS responsible for?
AWS is responsible for security of the cloud and we are responsible for security in the cloud.
What does the operational excellence pillar of the well-architected framework stand for?
Running and monitoring systems to deliver business value and continually improving processes and procedures
What are the six pillars of the well-architected framework?
- Operational Excellence
- Performance Efficiency
- Security
- Reliability
- Sustainability
- Cost Optimization
What does the Performance Efficiency pillar of the well-architected framework stand for?
Using IT and computing resources efficiently
What does the Security pillar of the well-architected framework stand for?
Protecting information and systems
What does the Cost Optimization pillar of the well-architected framework stand for?
Avoiding unnecessary costs
What does the Reliability pillar of the well-architected framework stand for?
Ensuring a workload performs its intended function correctly and consistently when it’s expected to
What region are IAM users created in?
They are not created in a specific region they are created universally / globaly
What permissions to do new users have ?
New users have no permissions
What are the 7 tasks that require root user access?
- Changing your account, name, email address, root user password, and root user access keys.
- Restore the user permission of a IAM user if the administrator is somehow locked out.
- Activate access to the Billing and Cost Management console
- Close the AWS account
- Change the AWS support plan
- Configure S3 bucket to enable MFA
- Edit or delete S3 bucket policy that includes an invalid VPC ID/ Endpoint ID
What are the only two things that the root user should be used for?
- Creating the first administrator user in IAM
- Perform tasks that can be performed only by the root user.
What is IAM Federation?
A service for using Single sign-on credentials (Microsoft Active Directory) for logging into AWS using SAML.
What is S3?
Simple Storage Service provides a simple, scalable, cost-effective, object storage service that is secure and allows you to store and retrieve any amount of data from anywhere on the web.
How does S3 manage your data?
It manages data as objects instead of data blocks which makes it suitable for storing any file type, (videos, photos, code, documents)
What are the 3 fundamental attributes of S3?
- Scalable and offers unlimited storage
- Objects up to a max of 5 TB is size
- S3 objects are stored in S3 buckets(similar to folders)
What is the most important thing to remember about S3 namespaces?
S3 namespaces must be Globally/Universally unique
What is the format of a S3 URL ?
https://<bucket-namespace>.s3.<Region>.amazonaws.com/<key-name(name.jpg)></Region></bucket-namespace>
What is the success code when you upload a file to an S3 bucket?
HTTP 200
What are the 4 key components of a object that is uploaded to S3?
- Key (Name of the object)
- Value (The data as a sequence of bytes)
- Version ID (important if you’re storing multiple versions of the same object)
- Metadata (content-type, last-modified …)
What are 3 ways to secure S3 buckets?
- Server-Side Encryption (You can set default encryption on a bucket to encrypt all new objects)
- ACLs ( Access Control Lists) (Define which AWS accounts or groups have access to individual objects)
- Bucket Policies specify what actions are allowed or denied by a user (John can PUT but can’t DELETE)
What is the consistency model for S3?
Strong Read-After-Write Consistency (Any object are available straight after a successful write)
What is the default access policy for S3?
S3 buckets and the objects inside them are private by default. You have to allow public access on the both the bucket and it’s objects in order to make them public
What is the default access policy for S3?
S3 buckets and the objects inside them are private by default. You have to allow public access on the both the bucket and it’s objects in order to make them public
What’s the difference between bucket policies and ACL?
Access control lists set access to objects while bucket policies affect every object within a bucket except previous versions of objects
Whats the best way to setup a static website?
Use S3 bucket
What is the scaling policy for S3?
S3 Scales automatically to meet demand
What is S3 versioning?
It’s a way to version control objects in a S3 bucket
What are the 5 key aspects of S3 versioning ?
- All versions of an object are stored in S3 including all writes and deletes
- Great tool for backup
- Cannot be disabled (once enabled it can only be suspended)
- Can integrate with life cycle rules
5 Supports MFA
What is the default S3 Storage Class and what are its 3 properties?
S3 Standard:
1. High Availability (99.99%) and (>=3 AZ) Durability (11 9’s)
2. Designed for frequent access
3. Suitable for most workloads (static website, content distribution, big data analytics)
What is the S3 class most suitable for data that is accessed less frequently but requires rapid access and what are its 4 properties?
S3 Standard Infrequent Access
1. High Availability (99.99%) and (>=3 AZ) Durability (11 9’s)
2. Rapid access
3. Pay to Access the data (low per GB storage price and per retrieval fee)
4. Great for long-term storage, backups, and data-store for disaster recovery
What are the 4 properties of S3 one zone infrequent access?
- like S3 Standard-IA but data is stored redundantly within a single AZ
- High Availability (99.5%) and (1 AZ) Durability (11 9’s)
- Costs 20% less than regular S3 Standard-IA
- Great for long-lived, infrequently access non critical data
What its the S3 Class that offers the most cost-effective solution for data that may be accessed Frequently and Infrequently and what are its 3 properties?
S3 Intelligent-Tiering
1. High Availability (99.99%) and (>=3 AZ) Durability (11 9’s)
2. Rapid access
What are the 4 properties of Glacier S3 Storage
- you pay each time you access your data
- Use only for archiving
- Glacier is cheap storage
- Optimized for data that is very infrequently accessed
What are the 3 Glacier options and their properties?
- Glacier Instant retrieval
long-term data archiving with instant retrieval time for your data. - Glacier Flexible retrieval
Ideal storage class for archive data that does not require immediate
access but needs the flexibility to retrieve large sets at no cost. Can be
minutes or up to 12 hours access time - Glacier Deep Archive
Cheapest storage class and designed for customers that retain data
sets for 7-10 years retrieval time of 12 - 48 hours