TheRobotLearns Platform · ProxySQL: from first install to production

Security — quiz

  • about 20 min read

Sources

Practice quiz

Try these as you read — answers are checked instantly and nothing is saved.

  1. Q1. You changed `use_ssl` in `mysql_servers`, but the value does not appear in `runtime_mysql_servers`. Which command activates the row?

    Answer for question 1
  2. Q2. You need ProxySQL to use a specific backend certificate and key. Which settings hold those paths?

    Answer for question 2
  3. Q3. You connected through ProxySQL. Which command shows the TLS cipher negotiated for that session?

    Answer for question 3
  4. Q4. Frontend SSL is enabled, but a user can connect without SSL. What enforces TLS for that user?

    Answer for question 4
  5. Q5. You are renewing backend TLS material. Which action is guaranteed atomic?

    Answer for question 5
  6. Q6. You must allow only specific queries for a user and schema, and deny everything else. Which layer does that?

    Answer for question 6
  7. Q7. You are choosing a whitelist mode. Which mode set is available?

    Answer for question 7
  8. Q8. Your security review needs a layer that analyses query fingerprints with libsqlinjection. Which layer is it?

    Answer for question 8
  9. Q9. A service must authenticate with an SVID and a configurable SPIFFE ID regex match. Which feature handles this?

    Answer for question 9
  10. Q10. You need a record of connection events and query activity for forensic review. Which feature provides it?

    Answer for question 10
  11. Q11. You enable the Client Error Limit, and a client address exceeds the maximum error count. What happens when a new connection arrives?

    Answer for question 11
  12. Q12. You want to enable the feature and choose the maximum allowable errors. Which variables do you set?

    Answer for question 12
  13. Q13. A client address is in the host cache, then its connection succeeds. What does ProxySQL do?

    Answer for question 13
  14. Q14. You want to clear the cached client host state entirely. Which action do you run?

    Answer for question 14
  15. Q15. You query `stats_mysql_client_host_cache_reset`. What happens besides reading the counters?

    Answer for question 15
  16. Q16. You want logs to show the real client behind a load balancer. What does PROXY protocol preserve?

    Answer for question 16
  17. Q17. An IPv6 load balancer sends PROXY headers. Which version and address families does ProxySQL support?

    Answer for question 17
  18. Q18. You allow headers only from `10.0.1.0/24` and `10.0.2.0/24`. Which network list matches that?

    Answer for question 18
  19. Q19. Why should you avoid `'*'` in `mysql-proxy_protocol_networks` in production?

    Answer for question 19
  20. Q20. You want preserved PROXY data in `stats_mysql_processlist`. What must be enabled?

    Answer for question 20
  21. Q21. A DBA sets mysql_servers.use_ssl for one backend server in ProxySQL. Which admin command promotes that server-table change into runtime?

    Answer for question 21
  22. Q22. After backend SSL/TLS material has been applied, a DBA connects through ProxySQL and wants to inspect the negotiated backend cipher. Which statement is used?

    Answer for question 22
  23. Q23. Which ProxySQL admin variable turns on the client-to-proxy SSL/TLS capability, while per-user enforcement remains a separate mysql_users.use_ssl setting?

    Answer for question 23
  24. Q24. Which items are listed in ProxySQL documentation as security feature layers?

    Answer for question 24
  25. Q25. Which statements about ProxySQL PROXY protocol support are correct?

    Answer for question 25
  26. Q26. Put the commands from the backend SSL example into the order they appear so ProxySQL can apply per-server SSL/TLS material.

    Answer for question 26
  27. Q27. Order the client error-limit cache events described in the documentation.

    Answer for question 27
  28. Q28. Match each ProxySQL security layer to its documented purpose.

    Answer for question 28
  29. Q29. Match each ProxySQL setting, command, or table to its purpose.

    Answer for question 29
  30. Q30. When renewing backend SSL/TLS material by changing the mysql-ssl_p2s_* file variables, ProxySQL applies the change atomically after the DBA runs ____ in the Admin interface.

    Answer for question 30
  31. Q31. A DBA configures a whitelist for app_user and the sales schema so only known queries are allowed. What does ProxySQL's firewall whitelist feature do, and which modes does it support?

    Answer for question 31
  32. Q32. A platform team needs to verify that connecting services are the right services and retain query records for investigation. Which ProxySQL security features address these needs, and how?

    Answer for question 32

Do more with an account