- A
Rewrite the functions in PL/pgSQL or another supported language.
RDS PostgreSQL supports only specific procedural languages; PL/Python is not one of them.
- B
Modify the DB parameter group to enable PL/Python.
Why wrong: Parameter groups control settings, not language support.
- C
Use RDS Custom for PostgreSQL to install PL/Python.
Why wrong: RDS Custom may allow installation, but it's not recommended; rewriting is simpler.
- D
Migrate to Aurora PostgreSQL which supports PL/Python.
Why wrong: Aurora PostgreSQL also does not support PL/Python.
Quick Answer
The correct answer is to rewrite the PL/Python functions in PL/pgSQL or another supported language. Amazon RDS for PostgreSQL does not support PL/Python because it is an untrusted procedural language, meaning it can bypass normal database security restrictions and access the underlying operating system, which is a significant security risk in a fully managed environment. On the AWS Certified Database Specialty DBS-C01 exam, this concept tests your understanding of RDS limitations regarding untrusted languages versus trusted languages like PL/pgSQL, PL/Perl, and PL/Tcl. A common trap is assuming all PostgreSQL extensions are available in RDS; in reality, any language requiring superuser privileges for installation is blocked. Remember the mnemonic: “Untrusted is Unsupported” — if a language needs superuser access to install, it won’t run on RDS.
DBS-C01 Deployment and Migration Practice Question
This DBS-C01 practice question tests your understanding of deployment and migration. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is migrating a PostgreSQL database to Amazon RDS for PostgreSQL. The source database uses custom functions written in PL/Python. What should the company consider?
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
Rewrite the functions in PL/pgSQL or another supported language.
Amazon RDS for PostgreSQL does not support PL/Python because it requires the installation of an untrusted procedural language, which poses security risks in a managed database environment. The correct approach is to rewrite the custom functions in a supported language such as PL/pgSQL, PL/Perl, or PL/Tcl, which are trusted languages available in RDS for PostgreSQL.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Rewrite the functions in PL/pgSQL or another supported language.
Why this is correct
RDS PostgreSQL supports only specific procedural languages; PL/Python is not one of them.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Modify the DB parameter group to enable PL/Python.
Why it's wrong here
Parameter groups control settings, not language support.
- ✗
Use RDS Custom for PostgreSQL to install PL/Python.
Why it's wrong here
RDS Custom may allow installation, but it's not recommended; rewriting is simpler.
- ✗
Migrate to Aurora PostgreSQL which supports PL/Python.
Why it's wrong here
Aurora PostgreSQL also does not support PL/Python.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume RDS Custom or Aurora PostgreSQL can bypass the PL/Python limitation, but AWS does not support untrusted languages in any managed PostgreSQL offering, and RDS Custom still relies on the standard PostgreSQL engine which lacks PL/Python support.
Detailed technical explanation
How to think about this question
PL/Python is an untrusted procedural language, meaning it allows execution of arbitrary Python code outside the PostgreSQL sandbox, which is why managed services like RDS and Aurora block it. Trusted languages like PL/pgSQL run in a restricted environment that prevents file system access and other dangerous operations. In a real-world migration, you would need to audit all PL/Python functions and rewrite them in PL/pgSQL, possibly using SQL functions or application-layer logic to replicate the behavior.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Deployment and Migration — study guide chapter
Learn the concepts, then practise the questions
- →
Deployment and Migration practice questions
Targeted practice on this topic area only
- →
All DBS-C01 questions
1,730 questions across all exam domains
- →
AWS Certified Database Specialty DBS-C01 study guide
Full concept coverage aligned to exam objectives
- →
DBS-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DBS-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Workload-Specific Database Design practice questions
Practise DBS-C01 questions linked to Workload-Specific Database Design.
Deployment and Migration practice questions
Practise DBS-C01 questions linked to Deployment and Migration.
Management and Operations practice questions
Practise DBS-C01 questions linked to Management and Operations.
Monitoring and Troubleshooting practice questions
Practise DBS-C01 questions linked to Monitoring and Troubleshooting.
Database Security practice questions
Practise DBS-C01 questions linked to Database Security.
DBS-C01 fundamentals practice questions
Practise DBS-C01 questions linked to DBS-C01 fundamentals.
DBS-C01 scenario practice questions
Practise DBS-C01 questions linked to DBS-C01 scenario.
DBS-C01 troubleshooting practice questions
Practise DBS-C01 questions linked to DBS-C01 troubleshooting.
Practice this exam
Start a free DBS-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DBS-C01 question test?
Deployment and Migration — This question tests Deployment and Migration — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Rewrite the functions in PL/pgSQL or another supported language. — Amazon RDS for PostgreSQL does not support PL/Python because it requires the installation of an untrusted procedural language, which poses security risks in a managed database environment. The correct approach is to rewrite the custom functions in a supported language such as PL/pgSQL, PL/Perl, or PL/Tcl, which are trusted languages available in RDS for PostgreSQL.
What should I do if I get this DBS-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 24, 2026
This DBS-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 DBS-C01 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.