How should you configure a Deployment in Google Kubernetes Engine (GKE) to include a database connection check and ensure a graceful shutdown with a container script if the connection fails? (Optionally include a corrected code block if the original contained syntax errors or typos related to liveness/readiness probes or lifecycle hooks.) | Google Professional Cloud Developer Quiz - LeetQuiz