AWS Solutions Architect Professional Flashcards
What are the 5 pillars of the well-architected framework?
- Operational Excellence
- Security
- Reliability
- Performance Effeciency
- Cost Optimization
- Sustainablility (not on current exam)
What is a homogenous migration in DMS?
In homogeneous database migrations, the source and target database engines are the same or are compatible—like Oracle to Amazon RDS for Oracle, MySQL to Amazon Aurora, MySQL to Amazon RDS for MySQL, or Microsoft SQL Server to Amazon RDS for SQL Server. Since the schema structure, data types, and database code are compatible between the source and target databases, this kind of migration is a one-step process.
What is a heterogenous migration in DMS?
In heterogeneous database migrations, the source and target databases engines are different—like in the case of Oracle to Amazon Aurora, Oracle to PostgreSQL, or Microsoft SQL Server to MySQL migrations. In this case, the schema structure, data types, and database code of source and target databases can be quite different, requiring a schema and code transformation before the data migration starts. That makes heterogeneous migrations a two-step process. First, use the AWS Schema Conversion Tool to convert the source schema and code to match that of the target database.
What tool can be used to covert schema to a different db format?
AWS schema conversion tool
What are the supported source db formats for DMS?
Oracle Microsoft SQL Server MySQL MariaDB PostgreSQL MongoDB SAP IBM db2 Azure SQL Google Cloud for MySQL s3 documentDB Aurora MySQL and PostgreSQL
What are the supported target db formats for DMS?
Oracle Microsoft SQL Server MySQL MariaDB PostgreSQL SAP Redis v6 Redshift s3 OpenSearch/Elasticsearch Elasticache Redis Kinesis Data Streams DcoumentDB Neptune Kafka Babelfish for PostgreSQL
What is the limit of records per shard in kinesis?
1000 records per shard, or 1MB/s, or 1000 writes/s
What are the components of a kinesis record?
partition key, sequence number, and data blob
What is the size limit of kinesis data blob?
1MB
What are the default and max retention times for kinesis stream?
default 24h
max 7 days
How is Kinesis firehose different than data streams
firehose simply delivers data to a storage destination such as s3. It doesn’t allow processing on the stream.
What is Kinesis Analytics?
lets you analyze and transform data in real time with Apache Flink. Works with both streams and firehose.
What is the dynamo db max item size?
400kb
What is a partition in dynamo db?
physical space where data is stored
What is a partition key in dynamo db?
unique identifier for each key. Records can have the same partition key if the sort key is different.
What is a sort key in dynamo db?
Combined with partition key to for defining storage order
What chunk size are dynamo db partitions divided into?
10gb
What is the formula for determining # of dynamo db partitions by capacity?
(total RCU/3000) + (total WCU/1000)
What is the formula for determing # of dynamo db partisions by size?
total size / 10gb
How to determine number of partitions in a dynamo db table?
round up MAX(by capacity, by size)
What is a dynamo db secondary global index?
Think of it as a copy of the original table. Can have different partition and sort keys
What autoscaling method does dynamo db use?
It uses target tracking for WCU and RCU utilization
What are some limitations of dynamo db scale down?
It won’t scale down automatically if consumption drops completely to 0.
What is dynamo db accelerator (DAX)
an in memory cache in front of dynamo db for speeding up latency
What does ACID stand for
Atomic
Consistent
Isolated
Durable
What does BASE mean?
basically available
soft state
eventually consistent
What is the s3 max object size?
5TB
Above what size object should you use multi part uploads with s3?
100mb
What is s3 transfer acceleration?
uses cloudfront to speed up uploads
What is Glacier Vault Lock?
Lets you specify compliance rules on glacier. Prevents future changes to data
What is the Amazon Data Lifecycle Manager?
automate the creation, retention, and deletion of EBS snapshots and EBS-backed AMIs
What is AWS Data Sync used for ?
Online transfer of data between storage services. Both AWS and on prem.
How much more expensive is EFS than ebs and s3?
3x more than EBS
20x more than s3
How does File Gateway expose storage?
exposes NFS and Samba
How does Volume Gateway expose storage?
iSCSI
What is the difference between Volume Gateway cached and stored mode?
Stored mode keeps a copy of all data locally, asyncronously copies to s3.
Cached mode caches frequently access files locally with all data in s3.
Can dynamo db be ACID compliant?
Yes, using dynamo db transactions.
What is a dynamo db local secondary index?
Allows for different sort keys with the same partition key on the table.
What is AWS Redshift?
PostgreSQL compatible data warehouse.
What is AWS Neptune?
A managed graph database
When would you use Redshift over Athena?
When joins or unions are required on the data
What storage format provides the best performance with Athena?
Apache parquet
What is amazon QLDB
Quantum Ledger Database (QLDB) is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log.
What is Amazon Managed Blockchain?
Managed blockchain service built on top of QLDB
What are the reserved VPC addresses of a VPC with cidr 172.16.32.0?
- 16.32.0 - VPC network address
- 16.32.1 - VPC router
- 16.32.2 - VPC DNS resolver
- 16.32.3 - AWS Future Use
- 16.32.255 - Unusable Broadcast Address
Does AWS VPC support broadcast layer 2 traffic?
no
What protocol does AWS Managed VPN use?
ipsec
What is the max speed of a Direct Connect link?
10GB/s
What is Direct Connect plus VPN?
Uses ipsec to secure direct connect link.
What is AWS VPN Cloud Hub
Allows connecting multiple locations in hub and spoke manner with AWS. AWS is the hub and all traffic goes through it to spokes.
What is a transit VPC?
A common VPC uses to connect multiple locations and VPCs
How is private link different than direct connect?
Private link adds VPC endpoint to connect to services over AWS private network. Only VPC interface endpoints, not a full network connection like direct link. Can be used for 3rd parties to provide access as well.
What services do VPC Gatway Endpoints support?
s3 and dynamodb
What is are the types of ec2 placement groups?
spread: spreads small groups of instances across logical partitions that do not share hardware
partition: spreads groups of instances in partitions that are spread across underlying hardware. For large distributed workloads like Hadoop and Cassandra
clustered: pack instances closely together in an AZ, same hardware, to get the lowest latency possible
What are the route53 routing policies?
simple failover geolocation geoproximity latency mulitple answer weighted
Does Application Load Balancer support Elastic IP?
No. Only when used with global accelerator.
What are the AWS Cloud Directory services?
- Cognito
- Simple AD
- AD Connector
- Directory Service for Microsoft Active Directory
What is a token vending machine?
A method for providing temp AWS credentials in mobile applications. It is recommended to use Cognito instead.
What is cloud HSM?
- Dedicated, single-tenant hardware for encryption keys.
- must be in VPC
- used for TDE with Oracle DBs
- classic HSM has upgront cost
What is the difference between IDS and IPS?
IDS (intrustion detection service) is a monitor. IPS (intrusion prevention system) is active.
Does cloudtrail provide native alerting?
No, must use cloudwatch events.
What is the value proposition of Service Catalog?
Uses adopted roles so users don’t need direct IAM permisson required to launch stack.
How do you override settings from Global Service Catalog?
You have to create a matching local portfolio to override settings like the IAM role inherited from a service catalog in a shared account.
Re-host
lift and shift. e.g. move VMs directly from on prem to ec2