For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 1Question 43
    Hard1 markMultiple Choice
    Domain 4.3: Migration StrategyNetworkingDirect ConnectMigration

    AWS SAP-C02 · Question 43 · Domain 4.3: Migration Strategy

    A company is migrating a legacy application to AWS. The application uses hardcoded IP addresses to communicate with an on-premises mainframe. The mainframe cannot be updated to use DNS. How can the architect ensure the AWS application can communicate with the mainframe over AWS Direct Connect?

    Answer options:

    A.

    Assign the hardcoded on-premises IP addresses to the EC2 instances in AWS.

    B.

    Use AWS PrivateLink to create an endpoint for the mainframe.

    C.

    Configure the VPC route table to route the hardcoded IP addresses over the Direct Connect connection.

    D.

    Use AWS Global Accelerator to provide fixed IP addresses for the mainframe.

    How to approach this question

    Recognize that standard IP routing over Direct Connect handles hardcoded IPs, provided there is no CIDR overlap.

    Full Answer

    C.Configure the VPC route table to route the hardcoded IP addresses over the Direct Connect connection.✓ Correct
    Use an Amazon Route 53 Resolver outbound endpoint to forward DNS queries, and use a NAT Gateway with a fixed Elastic IP if the mainframe requires IP whitelisting.
    If the application uses hardcoded IP addresses for the on-premises mainframe, you simply need to ensure the VPC route table has a route for those IP addresses pointing to the Virtual Private Gateway (VGW) or Transit Gateway attached to the Direct Connect connection.

    Common mistakes

    Overcomplicating the solution with DNS or NAT when simple routing is sufficient.
    Question 42All questionsQuestion 44

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01An enterprise has 50 VPCs across two AWS Regions. They need to establish transitive routing betwe...HardQ02A company uses AWS Organizations. The security team wants to ensure that no IAM user or role can ...MediumQ03An application requires a relational database with an RPO of 1 second and an RTO of less than 1 m...HardQ04A company is setting up a new multi-account environment. They want to automate the provisioning o...MediumQ05An organization wants to allocate AWS costs to specific business units. They use AWS Organization...Hard
    View all 75 questions →