Your company has 300 TLS certificates and two outages last year from expiry. What do you build?
IntermediateScenarioSecrets and Identity Management
Answer
Situation read → Expiry outages mean inventory and renewal are manual. Automate issuance and alert on what remains.
What I'd do →
- Inventory: scan endpoints and pull from cloud certificate services and CT logs.
- In Kubernetes, use cert-manager with an ACME
ClusterIssuer(Let's Encrypt or internal CA) so certs renew at two-thirds of lifetime. - For load balancers, use ACM, which renews automatically for DNS-validated certs.
- Alert at 30 and 7 days left with blackbox exporter
probe_ssl_earliest_cert_expiry. - Assign an owner to every remaining manual certificate.
Why → Public certificate lifetimes are getting shorter, so manual renewal will only get harder.
Interview tip → Mention the CA/B Forum plan to cut public cert lifetimes toward 47 days.
More on Secrets and Identity Management
A team stores database passwords in a `.env` file committed to a private repo. How do you migrate them out?BeginnerYour CI pipeline uses long-lived AWS access keys stored as repository secrets. How do you replace them?IntermediateAn auditor asks how often you rotate database credentials. You currently never do. What do you build?IntermediatePods need AWS access. A developer mounted an IAM user's keys as a Kubernetes Secret. What do you propose instead?BeginnerShould you use Kubernetes Secrets, Sealed Secrets, External Secrets Operator or the Secrets Store CSI driver?IntermediateA Slack webhook URL and a Stripe live key were posted in a public GitHub issue. What is your response sequence?Beginner