TD Exam 4 - Long review Flashcards
What kind of store is instance store
Block storage
What EC2 storage gives the best performance
Instance store
Is instance store included in price
Yes
When are instance store volumes attached
At launch
Can an instance have more than one instance store
Yes
Where are instance store voumes
On an EC2 host
Are instance store volumes persistent
No
Are instance store volumes resilient
No
How can you have instance volume that is isolated from instance lifecycle
EBS
If you need Resilience and your app has built-in replication
it depends, but instance store is an option
What should you use if you need super-high performance for storage
Instance store
What storage should be preferred if cost is an issue (for an instance)
Instance store
What is cheap EBS
ST1 or SC1 (disk-based)
What os good EBS for throughput, streaming
ST1
Can you use ST1 or SC1 EBS for boot
No
What are high-performance EBS up to 16k IOPS
GP2/3
What is up to 64k IOPS EBS
IO1/2
How can you get up to 260k IOPS from EBS
RAID0 (need optimized EBS and Iinstance)
How can you gete more than 260k IOPS
Instance store
What is Provisione dIOPS SSD
EBS, io1/2, consistent low latency and jitter
What are ACID and BASE
DB transation models
What is the focus of ACID
Consistency
What is the focus of BASE
Availability
What is RDS, ACID or BASE
ACID
What is DynamoDB by default, ACID or BASE
BASE
Can you have ACID DynamoDB
Yes, with dynamodb transactions
What is ACID usually
RelationalW
hat is BASE usually
NoSQL
What are the steps to have S3 websote hosting
Allow public access
Enable static website hosting
Update bucket policy to allow all principals to get object
Where do you enable CORS, on the bucket that has the requester html, or the one that has the requested html
Requested html bucket
What do Launch Configurations and Templates do
Define EC2 configuration in advance
Are Launch Configurations and Templates editable
No, but you have versions for Launch Templates
Are versions available for Launch Configurations
No
Can Launch templates be used elsewhere than ASG
Yes, from CLI and UI
Can Launch Configurations be used elsewhere than ASG
No
Whare are you responsible for renewing certificates in ACM
When you imported them
Does ACM automatically renew certificates
If it generated it, yes
Can ACM deploy certificates to anything
No, only to supported services (eg not EC2)
What kind of service in ACM
Regional service
Can ACM certificates leave the region theyr are generated or imported in
No
Can you use a certificate from another region for an ALB in another region
No, the certificate must be in the same region as the ALB
Except CloudFront, US-east-1
What region are global services (like CloudFront) from the perspective of ACM
US-EAST-1
How do ACM certs make it to edge locations
The distribution takes it from us-east-1 and sends it to the edge location
How many ENIs do EC2 have by deafult
One, it’s primary
Can an instance have ENIs in different subnets
Yes, but they have to be in the same AZ
Can you have source/destination checks on ENIs
Yes
Can you detach and move ENIs
Yes, but only secondary ENIs
How many DNS names does an instance have
Can have one for its public IP
One for a public IP
What does the public IP DNS name of an instance resolve to
Private IP inside subnet
Public IP outside
What happens when you assign an elastic IP
It removes the other public IP
How can you do something sneaky with MAC-based licensing
Use secondary ENI MAC address and move it between instances
Does an instance lose its public IPv4 address when it stops and start
Yes, unless it has an elastic public IP
What does Requester pays do
Requester pays for cost of request and data download
What is AWS Application Migration Service
Automated lift and shift solution
What are the steps when using AWS Migration service
Install AWS Replication Agent
Replicate source servers to AWS
Perform acceptance tests on servers
Execute cutover instance
What is the IP for metadata
169.254.169.254
How can apps on instances get an instance’s public IP
instance metadata
Is instance metadata encrypted or secured
No
Do ASGs need Scalng policies
No
What is manual scaling
Adjust manually min, max and desired
What is simple scaling
Set alarm and do action based on it
WHat is step scaling
Scale based on step adjustments
Eg set CPU amounts in steps, say how many CPUs to add
What is target tracking
Define ideal value
Then it adjusts
Can you scale based on an SQS queue length
Yes
What value does scaling adjust
Desired
What are ASG Lifecycle hooks
Allow you to defin custom actions on instances during ASG actions
What is AWS Health
It provides ongoing visibility into your resource performance and the availability of your aws services and accounts
What can you use to detect and react to AWS Health events
EventBridge
What does AWS Service health dashboard do
Shows public events that may affect several customers in particular regions
Not events related to specific EC2 instances on individual AWS accounts
What does AWS Personal health dashboard do
Visibility into your resource performance and the availability of your AWS services and accounts
For an ALB, how many listeners can you have on a given port
Only one
Can a listener on ALB support mutliple domains
Yes
What is ElastiCachr
In-memory database, high-performance
What are the 2 engines for ElastiCache
Redis
Memcached
What kind of workload is good for elasticache
Read heavy workloads with low latency requirements
What is 2 advantages of Elasticache
Reduces database workload
Can be used to store Session Data so servers are stateless
Does ElastiCache require code changes
yes
Should you use ElastiCache with DnamoDB
No
Which elasticache engine supports advanced data structures
Redis
Which elasticache engine supports Multi-AZ replication
Redis
Which elasticache engine supports backup and restore
Redis
Which elasticache engine is multithreaded
Memcached
Which elasticache engine supports transactions
Redis
What is AWS COnfig used for
To evaluate the configuration settings of your AWS resources
Can AWS Config send events to Amazon EventBridge
Yes
What is an OAI (Origin access identity)
An identity, not a role or a user