PAS-C01 Migration Practice Question
A company is migrating an SAP ERP system to AWS using an SAP-certified backup/restore method. After restoring the database to Amazon RDS for SAP ASE, the SAP application fails to start with an error 'database connection refused'. The security group allows inbound traffic from the application server. What is the most likely cause?
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
✓
The SAP application is using the wrong database hostname or port
After restoring the database to Amazon RDS, the database endpoint (hostname and port) changes. The SAP application likely still uses the old connection parameters, leading to a 'connection refused' error. Option A is incorrect because, although a stopped RDS instance would also cause this error, after a restore the instance is automatically started and running; a stopped state is unlikely. Option B is incorrect because outbound traffic rules are not required for inbound connections; the inbound rule on the database security group is sufficient. Option D is incorrect because different VPCs would typically result in 'no route to host' or timeout errors, not 'connection refused'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The RDS instance is in a 'stopped' state
Why it's wrong here
If stopped, the application would get a different error.
- ✗
The security group does not allow outbound traffic
Why it's wrong here
Outbound traffic is not required for the application to initiate connection.
- ✓
The SAP application is using the wrong database hostname or port
Why this is correct
After migration, the hostname/port may differ; need to update SAP profile.
- ✗
The RDS instance is in a different VPC than the application server
Why it's wrong here
If in same VPC, connectivity should work.
Go deeper
Related to this question
About these practice questions
One of 1,616 original PAS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PAS-C01 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 PAS-C01 exam.