TheRobotLearns Platform · ProxySQL: from first install to production
Backends, Topologies & High Availability — quiz
Sources
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- ClickHouse Configuration
- ClickHouse Configuration
- ClickHouse Configuration
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- MySQL Binlog Reader
- ClickHouse Configuration
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- ClickHouse Configuration
- ClickHouse Configuration
- MySQL Binlog Reader
- MySQL Binlog Reader
- MySQL Binlog Reader
- MySQL Binlog Reader
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- ClickHouse Configuration
- ClickHouse Configuration
- ClickHouse Configuration
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- How to Set Up ProxySQL Sharding
- MySQL Binlog Reader
- ClickHouse Configuration
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
- ClickHouse Configuration
- ClickHouse Configuration
- MySQL Binlog Reader
- MySQL Binlog Reader
- MySQL Binlog Reader
- MySQL Binlog Reader
- How to Configure ProxySQL for MySQL for the First Time
- How to Configure ProxySQL for MySQL for the First Time
Practice quiz
Try these as you read — answers are checked instantly and nothing is saved.
Q1. You configure ProxySQL backends. Which table receives the hostgroup, hostname, and port values?
Q2. You create the MySQL monitor user. Which ProxySQL variable stores its username?
Q3. ProxySQL must send `read_only=0` servers to hostgroup 1. Which mapping does that?
Q4. Several rules match a query. Which setting stops later rules from being evaluated?
Q5. A user has `default_hostgroup=1`, and no query rule matches its SELECT. Which hostgroup receives the query?
Q6. You add `accounts` and `transactions` users. What sends each user to its shard?
Q7. A rule sends `shard_1` queries to hostgroup 1. Which columns does it set?
Q8. Which rule sends INSERTs for one `loc_id` value to hostgroup 0?
Q9. You added schema rules. Which command writes them to disk?
Q10. A query joins rows from two shards. What handles it?
Q11. Your ProxySQL is 2.0+, and the reader reports transactions. What backend setup still supports causal reads?
Q12. You are installing the MySQL Binlog Reader. Where should it run for best results?
Q13. Your MySQL config has `gtid_mode=ON`. Which setting makes the backend track its own session GTIDs?
Q14. You started the reader with `-l 3307`. Which admin command points `mysql_servers` rows to it?
Q15. A read needs a transaction that no destination-hostgroup server has applied. What may happen, and what fallback needs?
Q16. You want ProxySQL to listen for ClickHouse queries on port 6090. What activates that interface?
Q17. You give `clickhouse-port` an out-of-range value and run `LOAD CLICKHOUSE VARIABLES TO RUNTIME`. What happens to the runtime port?
Q18. You change `clickhouse-hostname` and load it while a backend connection is open. Which sessions see the new host?
Q19. After adding a user to `clickhouse_users`, what commands make it active and persistent?
Q20. Which ClickHouse type groups does ProxySQL support, with one example type from each group?
Q21. You try to bootstrap a router from the current ClickHouse setup. Which command do you run?
Q22. You need the ClickHouse MySQL-protocol listener port. Which value appears?
Q23. A DBA changes rows in the in-memory `clickhouse_users` table. Which command applies those changes to ProxySQL's runtime ClickHouse configuration?
Q24. You try to require certificate trust for metadata TLS. Which setting appears?
Q25. After loading ClickHouse user settings to runtime in ProxySQL, which layer shows the active ClickHouse user configuration?
Q26. If mysql_replication_hostgroups contains writer_hostgroup=1, reader_hostgroup=2, and comment='cluster1', how does ProxySQL classify backend servers during replication monitoring?
Q27. After UPDATE global_variables sets mysql-monitor_username and mysql-monitor_password, which command makes those monitoring settings active in the running ProxySQL instance?
Q28. What effect does starting ProxySQL with --clickhouse-server have in the ClickHouse module described here?
Q29. Which statements align with the sharding guidance for ProxySQL?
Q30. For the MySQL Binlog Reader causal-read scenario, which conditions are stated requirements?
Q31. Order the steps to deploy schema-based sharding so that shard_0, shard_1, and shard_2 route to their configured hostgroups.
Q32. Order the steps to add a ClickHouse client user and persist the setting.
Q33. Match each ProxySQL object or column to its role in backend placement and traffic routing.
Q34. Match each ClickHouse configuration element or behavior to the description from the module.
Q35. To make a newly inserted mysql_query_rules row effective in the running instance, execute the admin command: ____
Q36. Describe how the MySQL Binlog Reader and ProxySQL work together to support causal reads, including the key server configuration and the behavior when no reader has reached the required GTID position.
Q37. You need to send selected application queries to reader hostgroup 2, cache those reader results for 5000 ms, and rewrite query text when digest matching is not sufficient. Describe the mysql_query_rules fields and runtime persistence steps.
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.