New Flashcards
S3 - What are the file restrictions in S3?
0bytes to 5TB
Files need to be uploaded in multipart when >5GB
IA: min 128KB and min. duration of 30days
S3 - What are the two types of meta data?
System metadata: last modified, MD5 digest, Content-Type
User Metadata: key-value for user defined tags
S3 - How is an URL for a file in S3 structured?
http://[BUCKET].s3.amazonaws.com/[FILENAME]
S3 - What API actions can be done in S3?
GET, PUT, DELETE, LIST
S3 - How many facilities can fail in S3 at one time?
Two
S3 - What is RRS in S3?
Durability 99.99%
Lower costs
S3 - What are atomic reads for eventual consistent reads?
An old version or the new version will be delivered, but not a mix
S3 - How can access be controlled in S3?
coarse grained: Access Control Lists
fine grained: Bucket Policy, IAM, query-string authentication
S3 - What can be done with Bucket Policies?
Restrict access based on IP-Range, time-of-day, which bucket
S3 - Can you assign a IAM Policy to another account?
No, use roles
S3 - How are static websites structured?
[BUCKET].s3-website-[REGION].amazonaws.com
S3 - What mechanisms can be used to encrypt?
Before sending: Client Side Encryption
In-Flight: SSL
At Rest: SSE-S3, SSE-KMS, SSE-C (All using AES 256bit)
S3 - What is a Range GET?
Get the n-first bytes of S3/Glacier
S3 - What gets logged in S3 Access Logs?
Account/IP Bucket name Time Action (PUT, GET...) Response Code
S3 - How are files stored in Glacier?
Archives (up to 40TB)
Identified with an archive ID (not user defined)
Automatically encrypted
Immutable, cannot be modified
EC2 - What is an EBS optimized instance?
Optimized configuration to take full advantage of EBS storage. Comes with an additional hourly cost
VPC - Can you have more than one Route Table?
Yes
VPC - What is an ENI?
Elastic Network Interface
Can be attached to the Instance
Handles the Security Group
Can have one public and multiple private IPs (>1 -> Dual Homed)
ELB - What Protocols does ELB support?
HTTP
HTTPS
TCP
SSL
ELB - How to use SSL on ELB?
Install the SSL Certificate, which terminates the connection, decryptes the request, then sends it to the backend
If there are multiple websites, you need to use Subject Alternative Name (SAN)
ELB - What is a Listener on the ELB?
Process that checks for a connection request
CNAME, A-Recored e.g.
COnfigured with a protocol and port
ELB - What OSI Levels does ELB use?
Layer 7 for applications (HTTP/HTTPS)
Layer 4 for TCP traffic
ELB - What are the configurable features in ELB? (6)
Idle Connection Timeout Cross Zone Load Balancing Connection Draining Proxy Protocol Sticky Sessions Health Checks
ELB - How can ELB help to keep instances updated?
By terminating long running instances and replace them with fresh AMIs
CloudWatch - Name two types of actions that CW can send an altert/message to?
SNS
AutoScalingGroup
CloudWatch - Can CW aggregate data across regions?
No
CloudWatch - What two metrics are not visible to AWS and need to be send as custom metrics?
Instance memory consumption
Disk metrics
CloudWatch - How can you store logs indefinately?
Store the logs in S3 (else the data is retained by two weeks)
ASG - What are the four scaling plans?
Maintain Current Instance Level
Manual Scaling
Scheduled Scaling
Dynmaic Scaling
ASG - Can the AutoScalingGroup reference a spot and a on-demand instance at the same time?
No
ASG - What service integrates Active Directory?
AWS Directory Service
IAM - What is a principal in IAM?
Is the permanent or temporary right to interact with an AWS resource
IAM - For which three purposes are roles used?
As EC2-Role: Allows to use applications on an instance
As Cross-Account-Access
For Federation: Access granted by external system
IAM - What is a securtiy token and who provides it?
The AWS Security Token Service provides it.
Allows temp. acces for 15min to 36 hrs