# What happens when a Certificate resource is deleted in cert-manager?

cert-manager, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/what-happens-when-a-certificate-resource-is-deleted-in-cert-manager

- A. The certificate is immediately revoked
- B. The certificate is marked as invalid but not deleted
- C. The Secret containing the certificate is deleted
- D. Nothing happens to the issued certificate

**Answer:** The Secret containing the certificate is deleted

**Explanation:** When a Certificate resource is deleted in cert-manager, the Secret containing the certificate is also deleted. This is because the Secret is owned by the Certificate resource and is garbage collected when the Certificate is deleted.
