Practice Test #1 Flashcards
For EFS on an EC2 instance, how many days since last access do you do you choose for your lifecycle policy to automatically move files to IA storage?
7 days since last access
After cloud migration from on-prem, which are fully managed AWS services?
DynamoDB & RDS
What would you use to provide a library of metabolism assessment functions to developers to share?
Lambda
Company in NY needs S3 bucket in SF that is same of current prod S3 bucket. What 2 things should you configure?
S3 Bucket Versioning, Cross-Region Replication (requires the versioning!)
What does Amazon S3 Glacier Vault Lock guarantee?
Non-rewriteable && non-erasable format (Write-Once-Read-Many)
What service do you use to ensure that users in Europe are directed to this website. www.poopbutthole.com ?
Route53 - Geolocation routing allows you to use the location of users
What two services does AWS Instance Scheduler help with?
RDS and EC2 Instances
Need a highly available de-coupled web application. What 3 services should you use?
SQS, EC2, and Elastic Load Balancer
In Change Controls, for S3 Eventual Consistency, what does updating ‘DelaySeconds’ attribute mean?
DelaySeconds = new message is added to a SQS queue, it will be hidden from consumers instances for fixed period.
When are the messages hidden for a VisibilityTimeout in a SQS queue?
After it is consumed from the queue
What is the minimum size of an S3 Object?
0 bytes
What type of routing policy allows for multiple servers to be sent traffic randomly?
Multivalue Routing (basically Simple Routing - multiplied)
Of RDS, DynamoDB, EC2, and S3, which ones need you to design redundancy into them?
EC2 & RDS
What is RAID 0 vs RAID 1?
RAID is a configuration to use with a traditional bare metal server for EBS.
RAID 0 = for greater I/O performance with a single volume
RAID 1 = on-instance redundancy, mirror 2 volumes together
DO NOT BOOT FROM RAID VOLUME
Is Elastic Load Balancer stateful?
YES BITCH
What do you need to create a second copy of prod env in US-EAST-1 and copy needs to be in US-EAST-2 ?
Route53 Private Hosted Zone records, VPC, Security Groups
Confidential data in S3 but need it available in different geographical location?
Enable Cross-Region Replication for the S3 bucket
Oracle software license?
Dedicated Hosts
A Multi-AZ RDS deployment will automatically fail-over as a result of what?
Loss of availability in primary AZ & Loss of network connectivity to Primary
Is S3 Transfer Acceleration a HIPAA compliant program?
YES mam, also S3 TA won’t take more than a week
What is proactive event-based scaling vs. cyclic scaling?
Cyclic scaling - occurs at a fixed interval
What is supported by the Basic Support plan?
Service Limit Increase, Account and Billing Support (other is Technical Support only higher levels)
What service allows you to store files as objects in Amazon S3?
AWS Storage Gateway
How can you avoid error of max object size exceeded when uploading a HD video to S3 bucket?
Use Multipart Upload API to copy to S3
What service enables on-prem to use AWS storage?
AWS Storage Gateway
What service is serverless interactive query service to analyze data in S3?
Amazon Athena
Which port does Amazon EC2 throttle traffic to all EC2 instances?
Port 25
Which layers of DDoS attacks does AWS automatically address?
Layer 3 & Layer 4
What 2 things do you need to deploy code to the CLl?
Access Key and Secret Access Key in CLI config
If you don’t want to use or maintain client-side encryption library, what S3 encryption option can you use to secure data at rest?
SSE-C - Customer controlled
What can you use to bypass existing web server for uploads to avoid increasing load on server?
Use Pre-Signed URLs to upload images
Requirement for applications to be separate on cloud, but need to exchange data and communicate with the on-prem data centers. What should you use?
Individual VPCs for each app with peering connections between them.
Shared VPC with Direct Connect to the on-prem
Application’s load balancer will need to always be on same IP Address. Which config do you use for your Load Balancer?
Network Load Balancer in public subnet
What are the 3 types of server-side encryption for S3?
SSE-S3, SS3-C, SSE-KMS, or a client library like S3 Encryption Client
What can you use to connect your cloud resources to your own IPSec VPN connections?
VPC ya dumb bitch
Name the 4 types of EBS volumes and what you should use them for.
gp2 - General Purpose SSD - most workloads
io1 - Provisioned IOPS SSD - Databases
st1 - Throughput Optimized HDD - Big Data & Data Warehouses
sc1 - Cold HDD - File Servers
How many Read Replicas of a DB can you have?
5, and each RR will have its own DNS endpoint
What kind of storage and how many AZ does a DynamoDB have?
SSD storage && 3 geographically distinct data centers
What is an Eventually Consistent Read (DynamoDB)?
Default, consistency usually within a second! Best Read Performance
What is an Strongly Consistent Read (DynamoDB)?
Takes < 1 second
Returns result that reflects all writes that received a successful response prior to read
Explain ElastiCache for Memcached and ElastiCache for Redis.
Memecached - scales horziontally, multi-threaded
Redis - Advanced data types, pub/sub/ sorting, Multi-AZ & restore abilities
How is Multivalue Policy different than Simple Routing Policy in Route53?
Multivalue - puts health checks on each record set
Simple Routing - one record with multiple iP addresses - random order
If you have a question on Route53 and it mentions subdomain, which Policy do you use?
C-name, but usually use Alias!
Explain the difference between Security Groups and Network ACLs.
Network ACLs - stateless - can block IP addresses (allow and deny rules)
Security Groups = stateful
What do you use to access a private subnet from a public subnet?
A Bastion host - SSH into the private subnet from the public subnet
What is the largest and smallest subnet Amazon allows in VPC?
Largest = /16 Smallest = /28