Question 1,558 of 1,660
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 creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 20, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.