Courseiva
Data Ingestion and TransformationmediumMultiple ChoiceObjective-mapped

DEA-C01 Data Ingestion and Transformation Practice Question

Network Topology
$ aws kinesis describe-streamstream-name my-data-streamRefer to the exhibit.```"StreamDescription": {"StreamName": "my-data-stream","StreamARN": "arn:aws:kinesis:us-east-1:123456789012:stream/my-data-stream","StreamStatus": "ACTIVE","Shards": ["ShardId": "shardId-000000000000","HashKeyRange": {"StartingHashKey": "0","EndingHashKey": "340282366920938463463374607431768211455"},"SequenceNumberRange": {"StartingSequenceNumber": "49640281912345678901234567890123456789012345678901234567890","EndingSequenceNumber": null],"EnhancedMonitoring": [],"EncryptionType": "KMS","KeyId": "arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab","RetentionPeriodHours": 24,"StreamCreationTimestamp": "2024-01-01T00:00:00Z"

A data engineer is troubleshooting a Lambda function that reads from the Kinesis stream 'my-data-stream'. The Lambda function is able to read data but occasionally fails with 'KMS.AccessDeniedException'. What is the most likely cause?

⚠ Common exam trap

Many candidates confuse KMS permissions with Kinesis stream permissions, assuming the error is about stream consumption authorization rather than decryption of encrypted data.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The Lambda function's execution role does not have kms:Decrypt permission for the KMS key.

The KMS.AccessDeniedException indicates that the Lambda function's execution role lacks the kms:Decrypt permission for the AWS KMS key used to encrypt the Kinesis stream. When a Kinesis stream is encrypted with a customer managed KMS key, the consumer (Lambda) must have explicit decrypt permissions on that key to read the data records.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The Lambda function's execution role does not have kms:Decrypt permission for the KMS key.

    Why this is correct

    Kinesis uses KMS for encryption; consumers need decrypt permission.

  • The retention period is too short; increase it.

    Why it's wrong here

    Retention period does not affect KMS permissions.

  • The stream has too few shards; increase shard count.

    Why it's wrong here

    Shard count does not cause KMS errors.

  • The Lambda function is not authorized to consume from Kinesis streams.

    Why it's wrong here

    If it reads data sometimes, it has basic Kinesis permissions.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 1,711 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.