A development team needs a centralized service to store, rotate, and control access to encryption keys for applications. Which solution best fits?
Trap 1: Port forwarding rule, because it allows applications to reach the…
Port forwarding rule maps an external IP address and port to an internal service, altering network traffic paths to let clients reach an encryption system. It has no mechanism for storing cryptographic keys, enforcing key access policies, or automating key rotation. While it might expose a key management endpoint to the network, it is a connectivity control, not a key-lifecycle control, and therefore cannot satisfy the requirement for centralized key storage and rotation.
Trap 2: Load balancer, because it distributes encryption requests across…
A load balancer distributes incoming requests across multiple backend servers based on algorithms such as round-robin or least connections, improving scalability and fault tolerance. Even if it performs TLS termination and handles certificates, it does not provide a centralized repository for application encryption keys or scheduled, policy-driven rotation of those keys. It may front-end a KMS, but it remains a traffic distribution mechanism, not a key management service.
Trap 3: Web application firewall, because it protects the keys from…
A web application firewall inspects HTTP/S traffic and filters requests using signatures and rules to block injection attempts, such as SQL injection or cross-site scripting. It cannot store, manage, or rotate cryptographic keys because keys reside in a security module or key management service, not in request payloads, and WAF rules are not key-lifecycle policies. Protecting web traffic is complementary to, but fundamentally different from, centralized key management.
- A
Key management service, because it centralizes key storage and rotation controls.
A key management service is designed to store, manage, rotate, and control access to cryptographic keys. It helps reduce the risk of hardcoded or poorly protected keys and gives administrators a central place to enforce lifecycle management. This is the best fit when multiple applications need secure, organized key handling.
- B
Port forwarding rule, because it allows applications to reach the encryption system.
Why wrong: Port forwarding rule maps an external IP address and port to an internal service, altering network traffic paths to let clients reach an encryption system. It has no mechanism for storing cryptographic keys, enforcing key access policies, or automating key rotation. While it might expose a key management endpoint to the network, it is a connectivity control, not a key-lifecycle control, and therefore cannot satisfy the requirement for centralized key storage and rotation.
- C
Load balancer, because it distributes encryption requests across servers.
Why wrong: A load balancer distributes incoming requests across multiple backend servers based on algorithms such as round-robin or least connections, improving scalability and fault tolerance. Even if it performs TLS termination and handles certificates, it does not provide a centralized repository for application encryption keys or scheduled, policy-driven rotation of those keys. It may front-end a KMS, but it remains a traffic distribution mechanism, not a key management service.
- D
Web application firewall, because it protects the keys from injection attacks.
Why wrong: A web application firewall inspects HTTP/S traffic and filters requests using signatures and rules to block injection attempts, such as SQL injection or cross-site scripting. It cannot store, manage, or rotate cryptographic keys because keys reside in a security module or key management service, not in request payloads, and WAF rules are not key-lifecycle policies. Protecting web traffic is complementary to, but fundamentally different from, centralized key management.