Flashcardsfor IT Certifications

D2: Using KMS Keys in Code

AWS Associate AWS Certified Developer – Associate exam practice questions · 11 flashcards

Question
KMS Encrypt API limit?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Using KMS Keys in Code practice questions and answers
  1. KMS Encrypt API limit?
    Up to 4 KB of plaintext directly.
  2. Envelope encryption steps?
    GenerateDataKey → encrypt data locally with plaintext key → store encrypted data key with data → discard plaintext key.
  3. Decrypting envelope-encrypted data?
    Call KMS Decrypt on the encrypted data key, then decrypt data locally.
  4. GenerateDataKeyWithoutPlaintext?
    Returns only encrypted data key for later use.
  5. Symmetric vs asymmetric KMS keys?
    Symmetric: single AES key, never leaves KMS. Asymmetric: public/private pair for encryption or signing.
  6. KMS key rotation?
    Automatic rotation for customer managed symmetric keys (enable/disable, period 90–2560 days); on-demand rotation also available.
  7. Can AWS managed keys rotation be disabled?
    No; they rotate automatically every year.
  8. Cross-account KMS use?
    Key policy must allow the external account; that account's IAM policy grants use.
  9. KMS ThrottlingException fix?
    Cache data keys (Encryption SDK caching), backoff, request quota increase.
  10. Encryption context?
    Non-secret key-value pairs bound to ciphertext as additional authenticated data.
  11. KMS Re-Encrypt?
    Changes key protecting ciphertext without exposing plaintext.