Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
$ als gewone gebruiker# als root (of met sudo)
Migration Assessment and Tracking Tools
AWS Migration Hub tracks all migration work in one place.
- Assessment scores each workload before the move.
- Application Discovery Service collects data about servers.
- Dependency mapping finds hidden links between systems.
In more detail
- Migration Hub does not move data. It gets status from AWS Application Migration Service, AWS DMS, and other tools. Set a home region. Give tools IAM roles to report. Group apps by wave or business function.
- For governance, define who approves each wave. Use the same steps: discovery, testing, rollback. Send daily reports to technical teams and weekly reports to leaders. Use SNS alerts when a migration fails.
- For assessment, list every application. Check complexity, business risk, compliance, TCO, and team readiness. Score each app. High-risk apps move in later waves.
- Discovery has two modes: agentless (connector appliance, less detail) and agent-based (software on each server, more detail). Collect data for 2–4 weeks at peak time. Use it to right-size.
- Dependency mapping reads network traffic, logs, and config files, then draws maps. Plan maintenance windows and rollback. Test guesses by disconnecting non-critical systems.
Prioritization and Migration of Workloads
Do not move everything at once. Move in waves.
- A wave has about 5–15 workloads with similar needs.
- Start with simple, low-risk apps.
- Test each wave before the next one starts.
In more detail
- A wave is a small group of workloads that move together. Early waves teach the team AWS skills and set the process. Later waves add new services and harder apps.
- Look at three things: technical complexity, business impact, and team readiness. A simple app can still wait if the team is not ready.
- Move shared services first: DNS, directory, monitoring, and shared databases. Group apps with the same stack, for example all Java apps.
- Check the business calendar. Do not move finance systems at quarter-end or retail systems at peak season. Balance wave size with team time and add buffer time between waves.
- Test in layers: unit, then integration, then end to end. Also test performance, security, monitoring, backup, and recovery.
- Run old and new systems in parallel. Use canary releases with a small share of users. Use a go/no-go checklist before the next wave. Track time per app, issue count, test cycle length, and stakeholder satisfaction.
Data Migration Options and Tools
DataSync moves data online with agents.
- Snow Family moves data offline.
- S3 Transfer Acceleration speeds up long uploads.
- Pick the tool by data size, distance, and time.
In more detail
- DataSync uses a small agent (a VM or EC2 instance). It reads NFS, SMB, HDFS, or object storage and writes to S3, EFS, or FSx. It copies only changed files by time, size, and checksum. It can run 8 parallel transfers with compression and bandwidth limits.
- Run a task once, on a schedule, or on an event. CloudWatch shows speed, file count, errors, and time left. Common uses: backup, DR with RPO in minutes, data lake feeding, ETL start, and ML training data.
- Snowball Edge is a rugged device. Storage Optimized has 80 TB. Compute Optimized has 42 TB and can run EC2 and Lambda at the edge. It often beats the network above 10 TB. Snowcone and Snowmobile are discontinued, so focus on Snowball Edge.
- Snow devices use 256-bit AES and KMS keys. Keys are never stored on the device. A chain of custody logs each step, seals show tampering, and CloudTrail, Config, and Security Hub track activity.
Application Migration Tools
Discovery comes first. You must know what you have.
- Application Discovery Service maps servers and links.
- Application Migration Service copies servers with little downtime.
- Tests run on copies. Production is not touched.
In more detail
- Discovery has two modes. Agentless reads VMware vCenter with read-only access and gives data in hours. Agent-based installs a small agent on each server and sees processes, ports, and links. Agents use under 1% CPU and memory.
- Agents install with MSI on Windows and RPM or DEB on Linux. Data is encrypted. You can set collection timing and traffic scope.
- Discovery data shows server counts, OS types, CPU use, ports, and traffic. Many servers run under 20% CPU. This helps you pick smaller types and plan the VPC and security groups.
- Build waves from the data. Move shared services first (Active Directory, DNS, shared storage). Put apps with many links in later waves with more testing.
- Application Migration Service (MGN) installs a replication agent. The agent sends only changed blocks to a staging area. Launch templates set the instance type, disks, network, and security groups.
- Start test instances while copying continues. Test, fix, and delete the test servers. For cutover: stop the app, sync the last blocks, start EC2, and change DNS.
- Automate with the API, SDK, and CLI. Step Functions adds approvals and error handling. CloudFormation builds network and roles. CloudWatch shows progress. Systems Manager runs tasks and patches.
AWS Networking Services and DNS
Direct Connect is a private, fast link to AWS.
- Site-to-Site VPN is a fast-to-set-up encrypted link.
- Route 53 can send traffic by weight, latency, or location.
- Health checks move users away from a broken system.
In more detail
- Direct Connect gives a dedicated line from 1 Gbps to 100 Gbps. Private VIFs reach your VPC. Public VIFs reach S3 without the internet. It takes weeks to install and has no encryption by default, so add a VPN on top if needed.
- Site-to-Site VPN uses IPsec over the internet. It is ready in minutes. Each connection has two tunnels, so one can fail. Speed is about 1–4 Gbps per tunnel. BGP updates routes when the network changes.
- Start with a VPN for early tests. Add Direct Connect for large data. Keep both for backup. Use Transit Gateway so one link serves many VPCs.
- To cut latency, put resources near users. Use cluster placement groups, enhanced networking, and Global Accelerator. Put content on CloudFront edges, cache, and batch API calls.
- Route 53 weighted records send a share of traffic to each endpoint: 90/10 at first, then 25, 50, 75, 100%. A weight of 10 out of 100 gives 10% of traffic. Changes take effect after the TTL (60–300 seconds).
- Latency routing picks the fastest region. Geolocation routing uses country or continent and helps with data laws (GDPR, HIPAA). Geoproximity adds a bias to shift traffic.
- Health checks can test HTTP, TCP, text in a response, or a CloudWatch metric. Calculated checks combine several checks. Failover moves traffic to a backup. Failback returns it when the main system is healthy.
Identity Services
IAM Identity Center gives one login for many accounts.
- Permission sets decide what a user can do.
- AWS Directory Service brings Active Directory to AWS.
- Legacy apps keep working while you modernize.
In more detail
- In IAM Identity Center you make users or groups, make permission sets, and link them to accounts. The SSO portal shows all accounts and apps a user can open. Users do not need a separate IAM user in each account.
- Groups make the work smaller. Give access to a group, not one user at a time. Add MFA, set session length, and use permission boundaries. Activity is logged for audits.
- You can keep users inside Identity Center, connect Active Directory, or mix both. SAML links apps such as Salesforce and Office 365. SCIM copies users and groups from AD.
- Hybrid patterns: federate (AD checks the login), synchronize (copy users to the cloud), or centralize (one cloud identity store).
- Directory Service has three options. Simple AD is a small Samba-based directory. Managed Microsoft AD is full AD on Windows Server in two AZs, with trusts and Group Policy. AD Connector is a proxy that sends logins to your own AD and stores no users.
Database Migration Tools
AWS DMS copies data and keeps copying changes.
- The old database stays online during the move.
- CDC sends only new changes, so the cut is short.
- AWS SCT converts the schema to a new engine.
In more detail
- DMS has three parts: a replication instance, source and target endpoints, and tasks. A task can do a full load, then continue with change data capture (CDC).
- CDC reads the database log for INSERT, UPDATE, and DELETE. The source stays fast. DMS can copy Oracle to PostgreSQL, or SQL Server to Aurora. This is a heterogeneous move.
- Use table mapping to pick tables and schema rules to rename columns or change types. Turn on validation to compare row counts and checksums. Use Multi-AZ for long runs.
- Watch CloudWatch metrics: rows per second, latency, and errors. Tune with parallel load and batch size. Big tables can go in parts.
- DMS can also keep two databases in sync all the time. Patterns: one source to one copy, one to many, cross-region, fan-out, and two-way copy.
- SCT is a desktop app. It reads Oracle, SQL Server, MySQL, or PostgreSQL and writes to Aurora, RDS, Redshift, or DocumentDB. It reports what converts alone and what needs manual work.
- SCT does not move data. Use DMS for data after SCT changes the schema. Fix stored procedures, custom types, and views by hand.
- Modernize while you move: drop old licenses, use managed services, add read replicas, and scale on demand. Update drivers, queries, and stored procedures in the app too.
Governance Tools
AWS Organizations puts many accounts under one roof.
- Control Tower builds a safe, ready-made account setup.
- Guardrails stop bad changes or find them fast.
- Plan accounts by migration phase, not at random.
In more detail
- One master account pays for all member accounts. Accounts sit in organizational units (OUs), for example Prod, Dev, and Security. Policies flow down from the root to each OU and account.
- Consolidated billing adds all usage together, which can bring bigger discounts. One place shows cost by team or project. Budgets and alerts stop surprise spending.
- Control Tower creates a landing zone with a logging account and a security account. Account Factory makes new accounts from a template. Each new account gets logging, GuardDuty, Security Hub, and Config rules.
- Preventive guardrails use SCPs and block actions, for example a public S3 bucket. Detective guardrails use Config rules and find problems after they happen. Some guardrails are mandatory, some are strongly recommended, and some are elective.
- SCPs do not give permissions. They set a limit. Use them to block risky services, keep work in approved regions, or require tags. Test each policy before you apply it to all accounts.
- Fix issues with automation: Config and Security Hub find the problem, then Lambda or Systems Manager fix it. Add approval steps in Step Functions for big changes.
- For migration, make accounts for each phase: discovery, proof of concept, pilot, production, testing, rollback, and cleanup. Use a networking account with Transit Gateway and shared Direct Connect. Delete temporary accounts after the move.
Compute Services
EC2 gives you full control of the server.
- Elastic Beanstalk runs your web app with little setup.
- ECS and EKS run containers at scale.
- Fargate runs containers with no servers to manage.
In more detail
- EC2 has more than 400 instance types. Pick by workload: t3 for normal web load, c5 for CPU work, r5 for memory. Use cluster, partition, or spread placement groups. Spread app servers over AZs and add an Auto Scaling group.
- Buy On-Demand for short or unknown work. Reserved Instances cut cost up to 75% for steady work. Spot cuts cost up to 90% but can stop with a 2-minute notice, so use it for batch jobs. Dedicated Hosts are for licenses or strict rules.
- Elastic Beanstalk takes your code and builds servers, load balancer, and scaling. It supports Java, .NET, PHP, Node.js, Python, Ruby, and Go. Settings go in
.ebextensionsfiles. Use rolling, blue-green, or immutable deploys. You lose some control over servers. - ECS is simple and AWS-native: clusters, task definitions, and services. EKS gives full Kubernetes with a managed control plane. Choose ECS for small teams and simple apps, and EKS for Kubernetes tools, custom operators, or multi-cloud plans.
- Fargate is a launch type for both ECS and EKS. You set CPU and memory, and each task gets its own isolated compute. It suits spiky traffic and batch jobs. Limits: 20 GB temporary storage and fewer network options. Fargate Spot saves money for jobs that can stop.
Storage Services
EBS is a disk for one EC2 instance.
- EFS is a shared file system for many servers.
- FSx is a file system for Windows or fast compute.
- S3 is object storage for almost any size.
In more detail
- EBS acts like a hard drive. Use gp3 for most work, io2 for steady high IOPS, and st1 for big sequential reads. Snapshots are incremental and stored in S3. Copy them to another region for safety.
- EFS is an NFS file system for many servers and AZs. General Purpose mode gives the lowest latency but tops out near 7,000 ops per second, while Max I/O goes higher. The Infrequent Access class cuts cost for cold files.
- FSx for Windows File Server uses SMB and Active Directory, with shadow copies and deduplication. FSx for Lustre is very fast and links to S3 for HPC and ML.
- S3 keeps objects in buckets and is built for 11 nines of durability. Random key prefixes spread load. Use multipart upload for files over 100 MB and Transfer Acceleration for long distances.
- S3 classes: Standard, Standard-IA, One Zone-IA, Glacier, and Deep Archive. Deep Archive needs 12–48 hours to restore. Intelligent-Tiering moves objects by itself, and lifecycle rules can move data to IA after 30 days and Glacier after 90.
- RDS handles patching, backup, and failover. Engines include Aurora, PostgreSQL, MySQL, MariaDB, Oracle, and SQL Server. Aurora claims up to 5x MySQL speed and copies data across three AZs.
- Multi-AZ keeps a standby in another AZ and fails over in about 60–120 seconds. The standby does not serve reads. Read replicas serve reads and can help with DR. Use the RDS endpoint, not the server IP.
- Self-managed means you run the database on EC2. You pick the engine, disk, RAID, and OS settings, and you do the patching, backup, and on-call work.
- Managed is often cheaper overall when you count staff time and risk, but self-managed wins when you need a special engine, version, or strict control.
Serverless Compute Offerings
Lambda runs code with no servers to manage.
- You pay only for the time your code runs.
- API Gateway gives your code a web address.
- DynamoDB stores data for serverless apps.
In more detail
- A Lambda function runs in a small container. AWS makes the container when an event arrives. If the same container is still warm, the next call is fast. Put database clients and config outside the handler so warm calls reuse them.
- Lambda scales from zero to thousands of calls in seconds. Over 200 AWS services can send events: API Gateway, S3, DynamoDB, EventBridge, SQS, and SNS.
- Keep one job per function. Put shared code in a layer to keep the package small. Memory also sets CPU, so test to find the best size. Retry temporary errors with backoff, do not retry bad input, and send failed events to a dead-letter queue.
- Cold starts are slower with big packages. Go starts fast, and Node.js and Python are a good middle ground. Provisioned Concurrency keeps containers warm for important functions but costs more.
- API Gateway is the front door. Lambda proxy integration sends the whole HTTP request to the function. Pick REST for rich features, HTTP for low cost, or WebSocket for two-way live chat. Validate requests, add auth (IAM, Cognito, Lambda authorizers), and set throttling.
Containers
A container packs an app with all its parts.
- Containers remove the "works on my machine" problem.
- Old apps can move in small safe steps.
- Domain-Driven Design helps you split a big app.
In more detail
- Old apps may need an old OS, old libraries, or special hardware. They are often one big unit with slow releases. A container wraps the app and its dependencies in a small portable box.
- First, study the app: services, data, links, and limits. Then choose a path: replatform (containerize with few changes), refactor (split it), or rebuild (start again).
- The Strangler Fig pattern wraps the old system. New features go to new services, and over time the old part shrinks. Start with the parts that carry low risk.
- Keep images small and use multi-stage builds. Move state out of the container to a database or cache. Keep settings in environment variables, not in the image.
- ECS runs containers on EC2 or Fargate. A task definition sets the image, CPU, memory, ports, and logs. Use Cloud Map for service names and an ALB for traffic. Container Insights shows CPU and memory, and Auto Scaling adds or removes tasks.
- Domain-Driven Design finds natural service lines called bounded contexts. Pick parts with high inner cohesion and few outside links, and let each service own its data instead of sharing tables. Make APIs like contracts: version them, keep old clients working, and prefer a few big calls over many small ones. Use events so services do not wait on each other, with sagas for long workflows.
AWS Storage Services
S3 can handle very high request rates per prefix.
- Smart key names avoid hot spots.
- EFS shares files with containers and many servers.
- Object Lock keeps records that no one can delete.
In more detail
- One S3 prefix can take about 3,500 write and 5,500 read requests per second. Do not start every key with a date. Add a random prefix or reverse the date. For big files (100 MB+), use multipart upload and retry only failed parts.
- Transfer Acceleration can cut upload time a lot for far users. VPC endpoints let EC2 and containers reach S3 without the public internet. Use Cross-Region Replication for DR and Same-Region Replication for local copies.
- EFS General Purpose mode is best for many small operations and tops out near 7,000 per second. Max I/O is for large parallel jobs and has a bit more latency. Bursting throughput grows with file system size. Provisioned throughput sets a fixed speed.
- On EKS, the EFS CSI driver gives pods shared storage. Access Points limit each container to one folder and a POSIX user. Security groups guard mount targets. Files are encrypted at rest by default and in transit with TLS.
- Intelligent-Tiering has four tiers: Frequent, Infrequent, Archive Instant, and Deep Archive. Objects under 128 KB are not covered. Monitoring costs about $0.0025 per 1,000 objects each month, and savings often pass that cost in 30–60 days. You can set archive after 90 days and deep archive after 180 days, and S3 Storage Lens and CloudWatch show counts and transitions.
Purpose-Built Databases
DynamoDB is fast at any size.
- The partition key decides how data spreads.
- Aurora Serverless grows and shrinks with load.
- Many apps use both DynamoDB and a relational database.
In more detail
- DynamoDB splits data into partitions across AZs. A good partition key spreads requests. A bad key makes one hot partition and slows the table. DynamoDB adds partitions by itself as data grows.
- Eventual reads are faster and cheaper. Strong reads are fresh but use more capacity. Use strong reads for money and stock.
- Model by access pattern. Single-table design puts many entity types in one table. Sort keys can look like
USER#1234#ORDER#2024. Add a GSI only for a real query need. - On-demand mode is for spiky or new work. Provisioned mode with Auto Scaling is cheaper for steady work. Batch calls handle 25 items. On a partial fail, retry with backoff and jitter. DAX gives microsecond reads.
- Aurora Serverless stores data from 10 GB to 128 TB and scales compute in Aurora Capacity Units (ACU). One ACU is about 2 GB of memory. Version 1 can pause when idle and bills only storage. Version 2 scales in 0.5 ACU steps and supports read replicas and global databases.
- Set a minimum ACU to avoid cold starts and a maximum ACU to cap cost. Use RDS Proxy to pool connections. The Data API runs SQL over HTTP, which suits Lambda. Put the database in private subnets.
- Choose by access pattern and consistency, not by habit. DynamoDB fits key-value work, carts, and sessions. RDS fits joins, reports, and ACID needs. DynamoDB bills for used capacity. RDS bills for reserved instance time.
- For high availability, DynamoDB copies across AZs by default. RDS needs Multi-AZ. Aurora can have up to 15 read replicas. Global Tables copy to other regions with eventual consistency.
- Secure both with private subnets, KMS encryption, TLS, and least privilege. Watch DynamoDB throttling and RDS slow queries.
Integration Services
SQS is a queue. It holds work until a worker is ready.
- SNS is pub/sub. One message can reach many subscribers.
- Both services loosen the link between apps.
- Bad messages go to a dead-letter queue.
In more detail
- Standard SQS queues have almost no limit on speed. They can deliver a message more than once. FIFO queues keep order and avoid double work, but they are slower. Choose FIFO for payments and orders.
- When a worker takes a message, SQS hides it for the visibility timeout. If the worker finishes, it deletes the message. If not, the message comes back. Set the timeout long enough for the real work.
- A dead-letter queue catches a message after too many failed tries. Batch calls send or read up to 10 messages. Long polling waits for a message instead of returning empty.
- Queues level the load. A traffic spike fills the queue, and workers drain it at a safe speed. Producers keep sending even when a consumer is down.
- SNS sends one message to many subscribers. SQS and Lambda subscribers get reliable delivery. Email and HTTP endpoints are best effort.
- Filter policies let each subscriber pick its own messages by attribute, such as region or priority. Fan-out sends the same event to several queues for parallel work.
- Lambda reads SQS through an event source mapping. Set batch size, batching window, and parallelization factor. For FIFO queues, messages in one group run in order.
- Turn on partial batch failure so only failed messages retry. Keep the function timeout below the visibility timeout. Use reserved concurrency for important queues.
- SNS can call Lambda directly for real-time work, with retries and a DLQ. Keep state in DynamoDB. Use Step Functions for long flows. A saga undoes steps when one fails. Add a correlation ID to trace one event.
Amazon EventBridge and Step Functions
EventBridge moves events from many sources to many targets.
- Rules pick events by their content.
- Step Functions runs long workflows as a state machine.
- You can pause a workflow and wait for a human.
In more detail
- EventBridge is a serverless event bus. AWS services, your apps, and SaaS partners send events. Rules match JSON fields such as source, detail-type, region, or amount. Then a target runs: Lambda, SQS, or another bus.
- The default bus receives AWS events. Custom buses group events by app or team. Archive and replay let you send old events again for testing or recovery. The schema registry stores and versions event shapes.
- Make events clean: add an event ID, time, version, and correlation ID. Only add fields when you change a version. Check events with JSON Schema. Ignore unknown fields on the reader side.
- Set up an outbox table to publish an event only after the database write succeeds. Use PutEvents for up to 10 events at once. Check each result, because one event can fail while others pass.
- For webhooks, use HMAC or mutual TLS. Put API Gateway in front for rate limits and JWT checks.
- Step Functions uses JSON (Amazon States Language). States include Task, Choice, Parallel, Wait, Pass, and Succeed or Fail. Retry and Catch handle errors. Map runs the same step on each item in a list.
- InputPath, ResultPath, and OutputPath move data between states. Nested workflows let you reuse a small machine. Express workflows are fast and cheap for short, high-volume jobs.
- A callback token pauses the flow for approval. Distributed Map can run millions of items with a set concurrency limit. One bad item does not stop the rest.
- Call AWS services directly from Step Functions to avoid extra Lambda code. Use the execution history, CloudWatch, and X-Ray to find slow or failed steps.
Key terms
The words of this course in one table. Learn them before the quiz or exam.
| Term | Meaning |
|---|---|
| ACU | Aurora Capacity Unit, a unit of compute and memory. |
| AD Connector | A proxy that sends logins to your own AD. |
| Agentless discovery | Reads data from vCenter, no software on servers. |
| Application Discovery Service | Tool that scans servers and their links. |
| Bounded context | A business area with its own model. |
| Callback token | A key that resumes a paused workflow. |
| Canary deployment | Send a small share of traffic first. |
| CDC | Change data capture, copies only new changes. |
| Chain of custody | A log of who held the device and when. |
| Cold start | The first call that needs a new container. |
| Container | A small box with an app and its dependencies. |
| Control Tower | AWS service that builds a safe multi-account setup with guardrails. |
| Correlation ID | A shared tag that follows one request. |
| Cutover | The moment traffic moves to the new system. |
| DataSync agent | Software that connects local storage to AWS. |
| Direct Connect | A private, dedicated network link from your site to AWS. |
| DLQ | Dead-letter queue, holds events that failed. |
| DMS | Database Migration Service, moves and syncs data. |
| EBS | Block storage attached to one EC2 instance. |
| EFS Access Point | A rule for one app's folder and user. |
| EFS | Shared NFS file system for many servers. |
| Endpoint | Connection details for a source or target database. |
| Event bus | A channel that carries events. |
| Failover | Move traffic to a backup endpoint. |
| Fan-out | One message sent to many subscribers. |
| Global Table | A DynamoDB table copied to other regions. |
| Go/No-Go | A decision point with clear pass rules. |
| GSI | Global Secondary Index, an extra query path. |
| Guardrail | A rule that blocks or detects a problem. |
| Hot partition | A partition with too much traffic. |
| IAM Identity Center | One login for many AWS accounts and apps. |
| Immutable tag | An image tag that cannot be overwritten. |
| Landing zone | The base multi-account setup from Control Tower. |
| Launch template | A rule set for how to start an EC2 copy. |
| Layer | A package of shared code for many functions. |
| Lifecycle rule | An automatic move or delete of objects. |
| Lift-and-shift | Move a server or app with almost no changes. Also called rehost. |
| Migration Evaluator | Tool that builds cost estimates. |
| Migration Hub | Dashboard that shows migration status in one place. |
| Migration wave | A small group of workloads moved together. |
| Multi-AZ | A standby copy in a second AZ for failover. |
| OU | Organizational unit, a group of accounts. |
| Parallel running | Run old and new systems at the same time. |
| Partition key | The field that decides where an item lives. |
| Permission set | A group of IAM policies for an account. |
| Placement group | A rule for where EC2 instances sit. |
| Prefix | The folder-like start of an S3 object key. |
| Reserved Instance | A 1–3 year discount deal. |
| RPO | How much data you can lose in a disaster. |
| RTC | Replication Time Control, a 15-minute copy SLA. |
| Rule | A filter plus a target in EventBridge. |
| SCP | Service Control Policy, a limit on what accounts can do. |
| SCT | Schema Conversion Tool, changes schema for a new engine. |
| Service mesh | A layer that controls service-to-service traffic. |
| Snowball Edge | Device for offline data transfer. |
| SSO | Single sign-on, one login for many apps. |
| Staging area | Cheap AWS space that holds copied disks. |
| State machine | A workflow with steps and choices. |
| Strangler Fig | Replace an old system piece by piece. |
| Task definition | The recipe for one container task. |
| TCO | Total cost of ownership over time. |
| Transfer Acceleration | Fast S3 upload path through CloudFront edge locations. |
| Transit Gateway | A central router for many VPCs. |
| Trust | A link that lets one AD domain trust another. |
| TTL | Time DNS servers may keep an answer. |
| VIF | Virtual interface on a Direct Connect link. |
| Visibility timeout | The time a message stays hidden while in use. |
| WORM | Write once, read many. |
Check yourself
Answer each question first, then open it to check the answer.
1What does AWS Migration Hub do?
It tracks migration status from many tools in one place. It does not move data.
2Why is dependency mapping important?
A missed link can break another system during the move.
3How many workloads are in a typical wave?
About 5–15 workloads with similar characteristics.
4What is a canary deployment?
You send a small percentage of users or traffic to the new system first.
5When should you use Snowball Edge?
When data is large and the internet link is slow.
6How does Transfer Acceleration speed up uploads?
Uploads go to a nearby CloudFront edge, then over the AWS backbone.
7What does the migration agent send to AWS?
Only the blocks that changed on the disk.
8Which systems should move in the first waves?
Shared services with few links, such as DNS and directory services.
9Why do teams start with a VPN and add Direct Connect later?
A VPN is ready in minutes and cheap for tests. Direct Connect is faster and steadier but takes weeks.
10What can a Route 53 health check test?
HTTP or TCP response, text in the response, or a CloudWatch metric.
11What does a permission set do?
It defines what a user can do inside one AWS account.
12Which Directory Service option keeps users only in your own AD?
AD Connector. It sends logins to your on-premises AD.
13Why is CDC useful for low downtime?
It copies only new changes while the old system runs, so the final cut is short.
14What does SCT do, and what does it not do?
It converts the schema. It does not move the data. DMS moves the data.
15What is the difference between a preventive and a detective guardrail?
Preventive blocks an action before it happens. Detective finds it after it happens.
16Does an SCP give permissions to a user?
No. It only sets the maximum. IAM still must allow the action.
17When is Spot a good choice?
For batch or fault-tolerant work that can stop and restart.
18What is the main difference between ECS and EKS?
ECS is AWS-native and simple. EKS is full Kubernetes.
19When is EFS better than EBS?
When many servers must read and write the same files.
20What does Multi-AZ do, and what does a read replica do?
Multi-AZ gives failover in one region. A read replica serves reads and can help with DR.
21Why put code outside the Lambda handler?
The code runs once at start and is reused on warm calls, so calls are faster.
22What is a hot partition in DynamoDB?
One partition gets too much traffic, so requests slow down or fail.
23What does the Strangler Fig pattern do?
It wraps the old system and moves features out one by one until the old part is gone.
24Why should each microservice own its data?
To keep services independent. Shared tables create tight links and slow changes.
25Why is a random prefix good for S3 keys?
It spreads requests over many partitions, so there is no hot spot.
26What is the difference between governance and compliance mode in Object Lock?
Governance mode can be overridden by users with the right IAM rights. Compliance mode cannot be overridden by anyone.
27What makes a partition key good?
It has many different values, so requests spread over all partitions.
28When is RDS a better choice than DynamoDB?
When you need joins, reports, or strong ACID transactions.
29When do you need a FIFO queue?
When order matters or a duplicate would cause harm.
30Why must the Lambda timeout be shorter than the visibility timeout?
So the message returns to the queue before the worker can lose it.
31What does an EventBridge rule do?
It matches events by pattern and sends them to a target.
32Why use an outbox table?
So an event is sent only after the database write succeeds.
Useful links
Official documentation and pages for this course.