Courseiva
Accelerate Workload Migration and ModernizationeasyMultiple SelectObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company is migrating a legacy .NET Framework 4.7 application to AWS. The application currently uses Windows Authentication and stores session state in-process. The company wants to minimize code changes and use AWS managed services. Which TWO strategies should the company adopt?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Migrate the application to run on Amazon EC2 instances joined to AWS Managed Microsoft AD.

AWS Managed Microsoft AD supports Windows Authentication and can integrate with EC2 without code changes. Option C is correct because ElastiCache for Redis can be used as a distributed session store, replacing in-process session state with minimal code changes (using Redis Session State Provider). Option B is wrong because .NET Core is not compatible with .NET Framework 4.7 without significant rewrite. Option D is wrong because Cognito is for external identity providers, not Windows Authentication. Option E is wrong because DynamoDB is not a drop-in replacement for in-process sessions; it requires custom code.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Migrate the application to run on Amazon EC2 instances joined to AWS Managed Microsoft AD.

    Why this is correct

    AWS Managed Microsoft AD supports Windows Authentication with minimal code changes.

  • Rewrite the application to .NET Core and deploy on AWS Elastic Beanstalk with Amazon RDS for SQL Server.

    Why it's wrong here

    .NET Core is not backward compatible with .NET Framework 4.7; this requires major rewrite.

  • Store session data in Amazon ElastiCache for Redis using the Redis Session State Provider.

    Why this is correct

    ElastiCache for Redis with the Redis Session State Provider can replace in-process sessions with minimal code changes.

  • Use Amazon Cognito with an Active Directory connector for authentication.

    Why it's wrong here

    Cognito is designed for external identity providers, not for Windows Authentication within a Windows domain.

  • Use Amazon DynamoDB to persist session state.

    Why it's wrong here

    DynamoDB is not a native session store; custom code would be required.

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.