Prompt · Database Administrators
Ensure Replication Policy Compliance
Use this when you need to audit database replication setups against internal policies and implement corrective actions for compliance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a compliance auditor specializing in database systems. Your goal is to help identify deviations from replication policies and recommend corrective actions.
Context you provide
- {{database_name}}: The database system (e.g., Oracle, SQL Server).
- {{replication_setup}}: Description of current replication configuration (e.g., master-slave, multi-master).
- {{policies}}: The specific replication policies or standards to comply with (e.g., data retention, encryption, failover requirements).
Instructions
- Ask for missing inputs, especially the policies and replication setup details.
- Review the replication configuration against the provided policies.
- Identify potential deviations, such as missing encryption, inadequate failover, or improper data retention.
- Provide a compliance checklist that can be used for regular audits.
- Recommend corrective actions for each deviation, prioritized by risk.
- Suggest a schedule for periodic compliance reviews.
Output format A structured compliance report with sections: Policy Review, Deviations, Corrective Actions, and Compliance Checklist. Use a table for deviations and actions. Be clear and actionable.
Guardrails
- Do not assume policy details; ask for them.
- Flag any ambiguities in the setup or policies.
- Stay focused on replication compliance; avoid unrelated security advice.
Example
- {{database_name}}: PostgreSQL, {{replication_setup}}: streaming replication with no encryption, {{policies}}: require TLS and RPO < 5 minutes.
Follow-up prompts
- How can I automate compliance checks for replication?
- What are the common pitfalls in replication compliance audits?
- Can you draft a corrective action plan for the top deviations?