TheRobotLearns Platform · ProxySQL: from first install to production
PostgreSQL Track — quiz
Sources
- How to Configure ProxySQL for PostgreSQL for the First Time
- PostgreSQL Tables
- PostgreSQL Extended Query
- PostgreSQL Tables
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- PostgreSQL Tables
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- PostgreSQL Tables
- PostgreSQL Extended Query
- PostgreSQL Tables
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- How to Configure ProxySQL for PostgreSQL for the First Time
- PostgreSQL Tables
- How to Configure ProxySQL for PostgreSQL for the First Time
Practice quiz
Try these as you read — answers are checked instantly and nothing is saved.
Q1. Which command opens ProxySQL's PostgreSQL-compatible Admin interface?
Q2. You inserted `pgsql_servers` rows, but routing did not change. Which command makes them live?
Q3. Which columns identify a new row in `pgsql_servers`?
Q4. What must exist on the primary PostgreSQL server for monitoring?
Q5. After `LOAD PGSQL SERVERS TO RUNTIME`, which table lists active servers?
Q6. You add a `pgsql_users` row for a PostgreSQL application user. Which pair must be set to 1 now?
Q7. You give `appuser` a `default_hostgroup` and add no matching query rule. Where does its traffic go?
Q8. You set `fast_forward=1` for a PostgreSQL user. What does ProxySQL do?
Q9. You want a PostgreSQL client to connect through ProxySQL port `6133`. What must exist first?
Q10. You insert a row into `pgsql_query_rules`. Which command applies it to the running proxy?
Q11. You want ProxySQL to ignore a rule without deleting it. What should the rule contain?
Q12. Two active rules match the same query. One has `rule_id=10`, and the other has `rule_id=20`. Which can take effect first?
Q13. You need ProxySQL to support PostgreSQL Extended Query Protocol with full prepared statement handling. What version is required?
Q14. You want to inspect per-query PostgreSQL traffic grouped by hostgroup. Which table holds the rows for the example query?
Q15. You are checking the support line for PostgreSQL Extended Query Protocol. State the two mechanisms named for prepared statement handling.
Q16. You want the architecture names for statement-cache state. Name the three items listed under Extended Query Architecture.
Q17. You follow PostgreSQL Extended Query Lifecycle. Which option names only the lifecycle flows?
Q18. You plan observability for PostgreSQL prepared statements. Which area names detailed caching mechanics, three-tier mapping, and observability?
Q19. You need PostgreSQL statement counts and time by hostgroup. Which table gives the rows to aggregate?
Q20. You need PostgreSQL query type distribution and execution times. Which table matches that description?
Q21. A query matches rule 10, and later rules must not run. Which setting stops further rule evaluation?
Q22. You edited `pgsql_users` and want frontend connections to stop at a per-user cap. Which field controls that cap?
Q23. A DBA wants to open a psql session to manage ProxySQL's PostgreSQL configuration. Which port should the session target?
Q24. After pgsql_servers is changed and the matching LOAD command is issued, which table exposes the active backend definitions used by the runtime?
Q25. A DBA plans to rely on PostgreSQL extended query behavior with prepared statements. What version condition does the documentation state?
Q26. Which pgsql_users fields are used to control transaction stickiness, query-processing bypass, and per-user frontend connection limits?
Q27. Which actions are part of the documented PostgreSQL configuration promotion workflow?
Q28. Order the steps shown for adding a PostgreSQL backend server and making the change effective in ProxySQL.
Q29. Place the extended query lifecycle phases in the order shown in the PostgreSQL extended query documentation.
Q30. Match each pgsql_users field to the role described in the PostgreSQL users documentation.
Q31. Match each PostgreSQL monitoring-related configuration term to its documented purpose.
Q32. To confirm that an application can reach backend PostgreSQL through ProxySQL, the guide uses psql -h 127.0.0.1 -p____ -U appuser -d mydatabase.
Q33. An admin inserts rule_id 10 and rule_id 20 for appuser, both with active=1, both with destination_hostgroup values, and only rule_id 20 has apply=1. After LOAD PGSQL QUERY RULES TO RUNTIME, how should rule evaluation be described?
Q34. A DBA wants to measure PostgreSQL traffic per hostgroup and also inspect pooling and command timing. Which ProxySQL statistics sources should be queried, and what aggregate should be used?
Do more with an account
- Graded quizzes is available on your account.
- Saving your progress is available on your account.
- Hands-on labs is available on your account.
- AI tutoring is available on your account.