CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
  • Week 1
    • 1.The Game Called the SAP Exam: Hands-On Techniques for Decomposing Scenarios
    • 2.IAM, STS, and Federation: Splitting the Word "Permission" into Six Layers
    • 3.The Anatomy of a VPC: What Route Tables Really Decide
    • 4.Four Compute Pillars in Depth: Revisiting Nitro, EBS, ELB, and Auto Scaling Through a Pro Lens
    • 5.Week 1 Integration: When IAM, VPC, and EC2 Meet in a Single Scenario
  • Week 2
  • Week 3
  • Week 4
  • Week 5
  • Week 6
    • 1.7R Migration Strategies: Decision Language for Cloud Migration
    • 2.AWS MGN Deep Dive: The Physics of Block-Level Replication, Comparison with DRS, and Migration Hub Orchestrator
    • 3.AWS DMS + SCT: The Science of Database Migration
    • 4.Migration Acceleration Tools: App2Container, MAP, Migration Hub
    • 5.Week 6 Review: Integrated Migration Strategy Scenarios
  • Week 7
  • Week 8
  • Week 9
  • Week 10
  • Week 11
  • Week 12
  • Week 13
  • Week 14
  • Week 15
  • Week 16
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← SAP-C02/Week 6/Day 5

Based on the SAP-C02 exam guide·Report an error

SAP-C02· ProWeek 6 · Day 5~30 min read

Day 5 - Week 6 Review: Integrated Migration Strategy Scenarios

Week 6 covered the entire cloud migration process: the decision-making framework 7R (Day 1), standard server transfer tools MGN and DRS (Day 2), the science of DB migration with DMS+SCT (Day 3), and acceleration tools completing the ecosystem (Day 4). These four days form the core of SAP-C02 Domain 3 (Migration & Modernization, 20%).

Common Domain 3 patterns: "Long scenarios with multiple tools appearing, requiring precise tool role distinction to choose the correct answer." Today we compress core concepts into decision trees and solidify real-world skills through 12 complex scenarios.

7R Decision Tree: Choosing R from Scenarios

7R is not memorization but scenario classification. Understanding each R's "entry conditions" via decision tree is essential.

Question 1: Is there reason to continue using this system?
  NO → Retire (decommission)
  YES → Next

Question 2: Does migration lack ROI or is on-premises mandatory per regulation?
  YES → Retain (keep as-is)
  NO → Next

Question 3: Must VMware vCenter be maintained as-is?
  YES → Relocate (VMware Cloud on AWS)
  NO → Next

Question 4: Is quick transfer without code changes top priority?
  YES → Rehost (lift-and-shift, MGN)
  NO → Next

Question 5: DB engine or OS change with minimal code fixes?
  YES → Replatform (DMS+SCT, MGN)
  NO → Next

Question 6: Is SaaS product conversion more sensible?
  YES → Repurchase (Salesforce, ServiceNow, etc.)
  NO → Next

Question 7: Redesign architecture to microservices/serverless?
  YES → Refactor/Re-architect (A2C, Refactor Spaces, Lambda redevelopment)

⚠️ Critical Distinction: Replatform vs Refactor boundary.

  • Replatform: code unchanged, replace infrastructure layer only. "Oracle → Aurora (code unmodified)", "EC2-based app → ECS (Docker only)"
  • Refactor: code also changes, architecture redesigned. "Monolith → Lambda+DynamoDB", "REST API → event-driven architecture" Edge case: "Oracle → Aurora PostgreSQL with PL/SQL converted to PostgreSQL functions" → Even if SCT auto-converts, code transformation occurs, so technically Replatform (infra + some code). SAP exam primarily distinguishes by code change presence.

Final Tool Mapping Table

ScenarioTool CombinationReason
Rapid entire server transferMGNBlock-level replication, Cutover minutes
Homogeneous DB transfer (MySQL→Aurora MySQL)DMS onlyNo schema conversion needed
Heterogeneous DB transfer (Oracle→Aurora PG)DMS + SCTSchema and code conversion required
SQL Server T-SQL minimal changesBabelfish + MGNUse T-SQL as-is
.NET Framework → .NET Core portingPorting AssistantCode compatibility analysis and conversion
Java/.NET app → containerizationApp2Container (A2C)Auto-generate Dockerfile, ECS task def
VMware vCenter as-is to AWSVMware Cloud on AWSvCenter API retained, Relocate
On-premises servers protected by AWS DRDRSContinuous replication + Failback
Post-migration DR reverseDRSDR region EC2 → on-premises replication
Monolith → microservices gradual transitionRefactor SpacesStrangler Fig traffic routing
EoS Windows 2003/2008 app compatibilityEMPCompatibility package wrapping
Windows Server App → modern WindowsEMP + MGNCompatibility + transfer
Large data offline transferSnow FamilyInternet bandwidth insufficient
File/object storage transferDataSyncNFS, SMB, S3, EFS

💡 Related Theory: In migration, data consistency (Consistency) is mandatory, not optional. ACID (Atomicity, Consistency, Isolation, Durability) properties in OLTP DBs mean how open transactions are handled during migration is critical. DMS reads DB engines' transaction logs (Oracle Redo Log, MySQL binlog, SQL Server CDC, PostgreSQL WAL) to capture changes per transaction. MGN's block-level replication doesn't recognize transaction boundaries, so DB migration via DMS is Best Practice.

Homogeneous vs Heterogeneous Migration Decision Basis

Are engines the same?
  MySQL → Aurora MySQL → DMS only
  PostgreSQL → Aurora PostgreSQL → DMS only
  Oracle → RDS Oracle → DMS only

Are engines different?
  Oracle → Aurora PostgreSQL → SCT (schema) + DMS (data)
  SQL Server → Aurora PostgreSQL → SCT + DMS
  MongoDB → DynamoDB → DMS (NoSQL→NoSQL, SCT unnecessary)
  SQL Server → Aurora MySQL Babelfish → Babelfish (T-SQL compatibility layer)

Same engine but significantly different versions?
  MySQL 5.6 → Aurora MySQL 3.x (MySQL 8.0 compatible) →
  DMS transfer only, but pre-test string functions and system variable changes

Understanding SCT Conversion Quality

SCT (Schema Conversion Tool) auto-converts schemas between heterogeneous engines, but conversion rate isn't complete.

SCT Assessment Report example:
  Auto-convertible: 75%
  Manual fixes needed: 20% (complex PL/SQL functions, package dependencies)
  Unsupported: 5% (DB-specific features, custom C extensions)

Practical lessons:
- Lower SCT conversion rate → higher Refactor cost
- Many Oracle-specific hints, DB links, partitioning → difficult conversion
- Run SCT Assessment upfront to predict effort

🔍 Deeper Dive: DMS CDC minimal-downtime migration pattern. Full Load alone prolongs downtime on large DBs. Full Load + CDC combination: (1) Full Load transfers existing data (source still operating), (2) After Full Load, CDC continuously applies changes, (3) When lag shrinks to seconds → brief app shutdown → final CDC reflection → switch. This pattern enables multi-TB DB transfer within minutes downtime. On SAP exam, "minimal-downtime DB migration" always means DMS Full Load + CDC pattern.

MGN vs DMS Selection Final Summary

Transfer target is "entire server (OS + app + middleware)"?
  YES → MGN

Transfer target is "DB data"?
  YES → DMS (homogeneous) or DMS+SCT (heterogeneous)

Can DB server be transferred via MGN?
  Technically possible but not Best Practice.
  Reason: Open transactions during replication → potential data inconsistency
  Recommended: App servers → MGN, DB → DMS

Both needed?
  700 app servers → MGN (parallel)
  100 Oracle DBs → SCT+DMS (parallel)
  → Coordinate with Migration Hub Orchestrator

A2C (App2Container) Advanced: Containerization Automation

A2C analyzes Java, .NET (IIS) based apps to auto-generate Docker images and ECS/EKS deployment artifacts.

A2C operation sequence:

1. Discover (analyze app)
   $ app2container discover --target-container-id app-001
   └── Analyze running app process, port, dependencies, environment vars

2. Extract (extract)
   $ app2container extract --application-id java-app:1234
   └── Extract app files, config, runtime to tar package

3. Containerize (containerization)
   $ app2container containerize --application-id java-app:1234
   └── Generate Dockerfile, build Docker image, push to ECR
   └── Generate ECS Task Definition or EKS Helm Chart

4. Generate Pipeline (CI/CD pipeline)
   $ app2container generate app-deployment \
     --application-id java-app:1234 \
     --deploy-target ecs
   └── Generate CodePipeline + CodeBuild CloudFormation

📚 Case Study: A2C's limitations. A Korean SI company containerized a legacy Java EE app (JBoss 4.2 based) via A2C. Specific JBoss 4.2 JMX configuration and EJB remote calls didn't work in container environment. A2C puts the app "as-is" in containers but doesn't make it container-friendly. Legacy apps storing server state in files, JVM heap configs conflicting with container memory are typical A2C post-work targets.

EKS Anywhere vs AWS Outposts: Hybrid Kubernetes

After containerization covered in Day 4's migration tools, comes "where to deploy?" choice.

ItemEKS AnywhereAWS Outposts
HardwareCustomer-owned servers (VMware, Bare Metal)AWS-designed and shipped racks
Control PlaneDirect on-premises operationAWS managed
AWS service integrationLimited (EKS Connector partial)Most integrated (EC2, EBS, S3, RDS, etc.)
Suitable situationReuse existing on-premises infra, minimize AWS dependencyAWS managed services needed on-premises
Data sovereignty✅ Data processed on-premises✅ Data processed at customer site
PricingEKS license costOutposts hardware lease (millions monthly)

🎯 Scenario classification:

  • "Deploy Kubernetes to existing on-premises servers and manage unified from AWS console" → EKS Anywhere
  • "Hospital internal patient data must never leave site but need RDS" → Outposts
  • "Finance regulations require data processing in domestic data center only" → Outposts or EKS Anywhere (depends on regulation details)

Entire Migration Pipeline Flow

Organize enterprise migration end-to-end pipeline:

[Phase 1: Discover & Assess]
  ADS (Application Discovery Service)
  └── Agentless Collector (VMware environment)
  └── Discovery Agent (physical servers, other clouds)
  └── Inventory: CPU, memory, disk, network dependencies

  DMS Fleet Advisor
  └── DB server specialized inventory
  └── Schema complexity, conversion feasibility assessment

  Migration Evaluator
  └── On-Demand vs Savings Plans comparison
  └── 5-year TCO savings projection

  Migration Hub Strategy Recommendations
  └── Per-server 7R auto-recommendation (Refactor/Replatform/Rehost...)

[Phase 2: Plan & Mobilize]
  MAP (Migration Acceleration Program)
  └── AWS partners + funding support + training
  └── Assess → Mobilize → Migrate 3-stage

  Migration Hub
  └── Unified tracking of all migration progress

[Phase 3: Migrate]
  Server transfer:
  MGN (Rehost → EC2) + DRS (continuous DR)

  DB transfer:
  DMS + SCT (heterogeneous) or DMS (homogeneous)
  DataSync (file/object storage)
  Snow Family (large offline)

  Containerization:
  App2Container (Java, .NET)
  Porting Assistant (.NET Core porting)
  EMP (EoS Windows)

[Phase 4: Modernize]
  Refactor Spaces (gradual microservices separation)
  EKS / ECS (container orchestration)
  Lambda / EventBridge (serverless event-driven)
  Serverless Application Model (SAM)

[Phase 5: Optimize]
  Compute Optimizer (Right-Sizing)
  Savings Plans / Reserved Instances (cost commitment)
  Trusted Advisor (overall recommendations)
  Well-Architected Tool (6 Pillar review)

Key Comparison Table: Pre-Exam Check

ComparisonABDifference Basis
MGN vs DMSEntire server (OS+app)DB data onlyTransfer unit
MGN vs DRSOne-time migrationContinuous DR + FailbackPurpose
Homogeneous DMS vs Heterogeneous SCT+DMSNo schema conversionSCT convertsEngine compatibility
A2C vs Porting AssistantOS as-is to containerCode ported to .NET CoreCode change presence
ADS vs Migration EvaluatorTechnical inventoryFinancial TCOAnalysis dimension
ADS Agentless vs AgentVMware-only, agentlessAll OS, install neededEnvironment
Migration Hub vs MAPTracking toolFunding and consulting programTool vs program
Relocate vs RehostVMware as-isOS and app as-is to EC2Hypervisor retained
Refactor vs ReplatformCode and architecture redesignedCode unchanged, infra replacedCode change presence
DRS vs MGNContinuous DR (RPO seconds)One-time migrationMigration vs continuous DR
Babelfish vs SCT+DMST-SQL compatibility layerComplete conversion post-portabilityMinimal change vs complete portability
EKS Anywhere vs OutpostsReuse customer hardwareAWS managed hardwareHardware ownership

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Large retailer must migrate 800 physical servers (700 app + 100 Oracle DB) to AWS within 6 months. Replace Oracle with Aurora PostgreSQL; quickly migrate app servers to EC2. Best tool combination?

Question 2

ADS discovered 3,000 servers, 500 showing avg CPU < 3%, no traffic, last login 2 years ago. Remaining 2,500 active. 7R strategy for 500?

Question 3

Financial company with SQL Server hosting .NET Framework 4.6 app wants AWS transfer + SQL Server license removal with minimal code change. Limited dev resources, no large rewrites possible. Most realistic combination?

Question 4

Enterprise migration kickoff. Executives ask "5-year TCO savings?" Teams ask "Which 7R per server?" AWS services satisfying both?

Question 5

500 VMs migrated to VMware Cloud on AWS (Relocate). After 6 months, VMware licensing costs remain high. Next step?

Question 6

Large monolithic Java app (2M lines) in microservices transition. Operate existing monolith while developing new order management module first as microservice, then gradually transition order API traffic from monolith to new service. Which service manages routing automation?

Question 7

1,000 VMware VM CPU/memory usage and TCP dependency collection without agents to design Waves. vCenter environment, no agent install desired. Suitable tool?

Question 8

MySQL 5.7 → Aurora MySQL 2.x (MySQL 5.7 compatible) migration with 100 stored procedures. Which between DMS and SCT needed?

Question 9

Migration manager running MGN 150, DMS 30, partner tool 20 simultaneously. Manage each server "Discovery → Ready → Testing → Cutover Complete" state and Wave-by-Wave progress in one console, including wave dependency automation. Which service?

Question 10

Post-migration EC2 instances over-provisioned per source server specs. CPU avg 15%, memory 40%. Want instance type downsizing recommendations. Which service?

Question 11

Company completed on-premises to AWS migration. Remaining on-premises data center to be used as AWS service DR site. Possible configuration?

Question 12

Company received Well-Architected migration review. "Domain 3: Migration and Modernization missing minimal-downtime DB migration design." 10TB Oracle DB → Aurora PostgreSQL within 2-hour downtime. Best Practice design?

PreviousMigration Acceleration Tools: App2Container, MAP, Migration HubWeek 6 · Day 4Next Container Orchestration Crossroads: The Real Criteria for Choosing ECS, EKS, FargateWeek 7 · Day 1

Official references

  • SAP-C02 official exam page(opens in a new tab)
  • AWS DMS documentation(opens in a new tab)
  • Amazon RDS · Aurora documentation(opens in a new tab)
  • Amazon EC2 documentation(opens in a new tab)
  • Amazon EKS documentation(opens in a new tab)
  • Amazon S3 documentation(opens in a new tab)

On this page

  • 7R Decision Tree: Choosing R from Scenarios
  • Final Tool Mapping Table
  • Homogeneous vs Heterogeneous Migration Decision Basis
  • Understanding SCT Conversion Quality
  • MGN vs DMS Selection Final Summary
  • A2C (App2Container) Advanced: Containerization Automation
  • EKS Anywhere vs AWS Outposts: Hybrid Kubernetes
  • Entire Migration Pipeline Flow
  • Key Comparison Table: Pre-Exam Check
  • 12 Scenario Practice Questions