Tutorial Dojo Flashcards
AWS Transit Gateway provides ___ design for connecting VPCs and on-premise networks.
Hub and Spoke
Hybrid Connectivity (VPN/Direct Connect) to a single ____ to control organization’s entire AWS routing.
Transit Gateway
Hub and spoke simplifies management and cost because ____ only connect to ____ to gain access to networks
Transit Gateways/VPCs
AWS TG and AWS _____ solution simplify management of connections between AVPC and your network over a _____. It also minimizes network costs, improves bandwidth and provides more reliable network experience
Direct Connect/private connection
True/False: VPC peering is supported in a Direct Connect connection.
False. VPC Peering does not support transitive peering relationships.
What are the three “free” data transfers for S3?
1) In from Internet
2) Out to EC2 instance when in same region as S3 bucket
3) Out to CloudFront
GP2 and Provisioned IOPS (io1) are backed by
SSD
Throughput Optimized (st1) and Cold (sc1) are backed by
HDD/Magnetic
SDD-backed provide better performance when IO is
random or sequential
HDD-backed provide better performance when IO is __________ and ________
large AND sequential
Provisioned IOPS (io1) are best for I/O intensive workloads such as ____ (3 examples). Therefore, io1 is a better solution for these platforms than [other storage option]_____.
Databases [MongoDB, Oracle, MySQL] / GP2
What is Amazon Fargate?
Compute engine for containers w/ECS and Elastic Kubernetes Service (EKS). No over-provisioning.
What is Amazon EMR?
Cloud big data platform for processing vast amounts of data using open source tools.
True/False: ELB Access logging is enabled by default.
False. It is disabled. Once we turn it on it will store the logs to S3 as compressed files.
What is the backing framework for Amazon EMR?
Hadoop.
The combined use of IAM _______ and AWS ________ will support autonomy of corporate divisions while enabling governance and oversight.
Cross-Account access and consolidated billing w/ AWS organizations (linking accounts up to parent)
Week after a Kinesis Data Stream and Lambda is deployed, users have noticed slowness as data rate increases. There’s a performance issue with Kinesis. What should be done?
Increase shards with UpdateSharedCount command.
What are the two types of Kinesis resharding operations?
Split and Merge
True/False: you are charged on a per-shard basis for Kinesis.
True. Therefore increasing # of shards increases cost (and vice versa).
True/False. There is step scaling in Kinesis.
False. This is only applicable to EC2.
What would three pieces of an elastic, scalable web tier solution be?
Elastic Load Balancing, Amazon EC2, and Auto Scaling
Which DB solution is best for OLTP
Amazon RDS (not scalable)/Aurora (fully managed)
You get a ‘insufficient capacity error’ for a Placement group. What is the correct action to take?
Stop and restart the instances in the placement group and try the launch again.
What are the four metrics that CloudWatch monitors by default?
CPU Util
Network Util
Disk performance
Disk Read/Write
Enhanced Monitoring metrics are stored for ___ days in CW logs.
30
Session State data is best stored in (two items)?
DynamoDB
ElastiCache
True/False: DynamoDB is best to store key-value pairs
True.
Which database at AWS is best for OLAP?
Redshift
What is AWS OpsWorks?
Configuration management service that provides managed instances of Chef and Puppet.
What is DynamoDB?
Fast and Flexible NoSQL, fully managed relational DB service.
NACLs can be used to control what?
Traffic coming in and out of VPC network
NACLs are stateful or stateless [what does that mean]?
Stateless
Stateless means you have to have matching inbound/outbound rules.
What is the Amazon service that provides temporary elevated access.
AWS Security Token Service (STS)
Which of these subnets provides a range and which provides a specific IP address; /32 /0
/0 is a range of IPs/entire network
/32 is a specific IP
Ture or false: Traffic between VPC and other Amazon services do not leave Amazon Network
True.
What is an interface endpoint?
ENI w/ private IP; entry point for traffic.
What is a gateway endpoint?
Target for specified route in route table; used for traffic to a supported AWS service [S3 / DynamoDB].
What are two services that need a gateway endpoint?
S3
DynamoDB
True or False. EBS volumes are restricted while snapshots are taken.
False. EBS can be used while snapshots are in progress.
When transitioning from STANDARD to STANDARD_IA or ONEZONE_IA what are the constraints (three of them)?
1) Objects smaller than 128k are not transitioned
2) Objects have to be stored 30 days in current storage class before you can transition them.
3) Only objects that are at least 30 days noncurrent can be transferred
Limitations on changing storage class do not apply for which classes (three of them)?
INTELLIGENT_TIERING, GLACIER, and DEEP_ARCHIVE
What are three things required to access an EC2 instance from the INTERNET?
1) IGW
2) Route to the IGW in the route table of the VPC
3) Public IP address attached to the instance
S3 log files are encrypted by either: ____ or you can encrypt with this service
Default Server Side Encryption (SSE) AWS KMS (Key Management Service)
What is the encryption algorithm used by S3?
AES-256
How does Aurora handle failure of primary instance?
1) How are replicas/CNAME handled?
2) What if AZ becomes unavailable?
3) What if no replica, and not serverless?
Failover is automatic.
1) If you have a replica, the CNAME is flipped to point to healthy replica (and then that is promoted).
2) Amazon recreates DB in different AZ
3) If you don’t have a replica (and are running serverless), It will attempt to create new DB instance in same AZ.
How can you enable DR for Redshift in the event of an AWS region outage
Enable Cross-Region Snapshots
NLBs function at what OSI layer?
Layer 4
What is BYOIP, which LB is it associated with and what might it be used for?
Bring Your Own IP. You can use it to put an IP onto an Elastic IP that is assigned to an NLB. This can be useful if your IP is already whitelisted to clients.
True or False: NAT Instances and NAT Gateways support IPv6.
False. Only IPv4.
UDP is at Layer ___ of the OSI and therefore a ____ is the best way to route traffic to multiple targets.
4
Network Load Balancer
What is the EC2 CLI way to get a “StateReason”. Why might it be used?
aws ec2 describe-instances
This would show status of EC2 instances, with the reason the state was changed.
When using a static webpage, using ____ [for caching] and ____ [for storage] will ensure ideal hosting as it can support html, css, java, and images.
CloudFront
S3
What would be used to trace and analyze RESTful API requests?
AWS X-Ray
If you want new EBS volumes in a region to be automatically encrypted what step should you take?
Turn on EBS Encryption by Default Feature for the Region.
By default, records of a stream in Amazon Kinesis are accessible for up to _____ from the time they are added to the stream. You can raise this limit to up to ____ by enabling extended data retention.
24 hours
7 days
NACLS are used to control traffic to an entire VPC, what vehicle can be used to control access to a single EC2 instance?
Security Group
If you need to create an AutoScaling fleet of EC2 instances with a new AMI, what step should be taken? Why?
Create a new launch configuration.
You can only specify one launch configuration for an Auto Scaling group at a time, and you can’t modify a launch configuration after you’ve created it. Therefore, if you want to change the launch configuration for an Auto Scaling group, you must create a launch configuration and then update your Auto Scaling group with the new launch configuration.
What is the purpose of Lambda@Edge
Run lambda functions to customize content that cloudfront delivers (functions are executed at edge locations)
What is HTTP 504?
Gateway timeout
With CloudFront, why would you setup an origin group with two origins?
CloudFront would automatically switch over if one origin fails.
Which of these two is better for large sets of data? AWS Storage Gateway or AWS DataSync
AWS DataSync
The largest object that can be uploaded to S3 is:
5G
Real time analytics for lots of records in small sizes batches is best done by what two services? [one to send, one to process]
Kinesis Data Stream
AWS Lambda
Non-relational DB In-memory cache that delivers up to 10x performance improvement from milliseconds to microseconds or even at millions of requests per second.
Amazon DynamoDB Accelerator
________ improves the performance of your database through caching query results.
ElastiCache
True/False. ENI is detached if you stop an EC2 instance.
False
True/False. EIP attached to an EC2 instance is ephemeral.
False
True/False. Data stored in instance-store devices is ephemeral.
True
Relational Databases have rigid schema which means what in relationship to flexibility?
That you have constraints and limits to what can be inserted. Therefore, Relational Databases are no good if you are going to have frequent schema changes.
Generally, do relational databases scale well? What is the relational Amazon DB service that does scale well.
No. DynamoDB.
Scale-In Operation has three things it will do in determining which instance to terminate. What are they?
AZ with most instances
Instances with oldest launch config
Instance that is closest in next billing hour.
SNI _____ relies on the SNI extension of the Transport Layer Security protocol.
Custom SSL
What allows multiple domains to serve SSL traffic over the same IP address by including the hostname which the viewers are trying to connect to?
SNI extension of Transport Layer Security Protocol
In regard to certificates, CloudFront web distribution with dedicated IP is not cost effective. Why?
Charge begins when you associate your SSL/TLS certificate with your CloudFront distribution. Additionally, dedicated IP is a monthly charge.
Read-after-write consistency, low-latency file operations, and multi-system connectivity are associated with what storage solution?
EFS
If a shard iterator in Kinesis data stream is expiring, what is a possible solution?
Increase the write capacity assigned to the shard table
Regarding size, storage capacity for Dynamo DB is automatically _____ for storage.
Scaled
What type of messing service is Amazon SNS?
Pub/Sub
Amazon SNS can push to what endpoints (5)?
SQS Queue Lambda HTTP Endpoint eMail Mobile Device
What is the ability to only send certain SNS topics to an endpoint?
Filtering
A decoupled application architecture would use what two services at AWS?
Simple Queue Service [SQS]
Simple Workflow Service [SWS]
True or False. DynamoDB can be used for real-time tabulations
True.
What is the service that keeps collaborative apps with shared data updated in real time and what is the backing DB?
AppSync
DynamoDB
Kinesis Data Stream enables [how fast] _________ processing of streaming ______.
Real-time
Big Data
True/False. SQS allows for duplicates to be sent.
True.
[vocab word] AWS Step Functions allows for serverless ______ for modern applications.
Orchestrations
What is Orchestrtation in regard to AWS Step Functions?
Centrally manage workflow by breaking it into steps with flow logic and tracking inputs/outputs between steps.
What is AmazonMQ?
Managed message broker service that supports multiple protocols.
What service can collect, process, and analyze data in real-time?
Amazon Kinesis
What are the three types of storage solutions provided by Storage Gateway?
File, Volume and Tape
Which of the AWS storage gateway options provides ability to use NFS/SMB?
File
By default RDS does not monitor certain things, in order to facilitate better monitoring of RDS, what should be done?
Enable Enhanced RDS monitoring.
It is expected that the database read queries will significantly increase in the coming weeks ahead. A Solutions Architect recently launched two Read Replicas to the database cluster to improve the platform’s scalability. How should this be done with Aurora?
Use the built-in Reader endpoint of Aurora.
NLBs is primarily used to distribute traffic to servers not this piece of RDS technology ______ [regarding database]
Read Replicas
What is the most likely reason a Lambda function with over 15 minutes runtime would terminate?
Maximum Execution time setting
One way to secure private content on Cloudfront is to require signed _____ or signed ______.
URLs
Cookies
Origin Access Identity (OAI) can be used to require users access S3 content by using only
CloudFront URLs