AWS Fundamentals 1 Flashcards
Which contains what? AZ and Regions!
Regions contain multiple Azs
Azs are?
Physical data centers
Why are AZs Used?
For disaster recovery
Azs are not available in?
Consoles
IAM works with?
Users-Groups and Roles
What is default format for IAM policy writing?
JSON
How do we use groups and roles?
Groups = Usually by functions
Roles = for Internal AWS resources
IAM is a non managed policy?YN
No - IAM is a managed policy
What is the best practice to grant privileges?
Least privilege principle
IAM federation used for?
To connect with organizations and external applications. [Active directory.]
The standard is SAML
Big enterprises usually integrate their own repository of users with IAM
What is best practice to grant IAM role?
1 IAM role per person
1 IAM role per application
What is the worst practice for security while writing code?
Never write credentials in code
What is used for bootstrapping?
USER DATA
What should be the first line of USER data script?
/bin/bash
What are ECS laucnh modes?
On Demand - Reserved Instance - Convertible Reserved Instance - Scheduled Reserved Instance - Spot Instance - Dedicated Instance - Dedicated Host
Your whole AWS security is?
- Users
- Groups
- Roles
EC2 pricing is per?
- Region
- Type
- OS
The billing is done in first 60 sec block then rest per second basis
How can you have your own Instance?
By creating a custom AMI
IS AMI region specific?YN
Yes