nerdexam
Amazon

DEA-C01 · Question #130

A telecommunications company collects network usage data throughout each day at a rate of several thousand data points each second. The company runs an application to process the usage data in real…

The correct answer is B. Modify the processing application to publish the data to an Amazon Kinesis data stream. Create. The telecommunications company needs to identify sudden drops in network usage from real-time streaming data with the least latency to take immediate remedial actions.

Data Ingestion and Transformation

Question

A telecommunications company collects network usage data throughout each day at a rate of several thousand data points each second. The company runs an application to process the usage data in real time. The company aggregates and stores the data in an Amazon Aurora DB instance. Sudden drops in network usage usually indicate a network outage. The company must be able to identify sudden drops in network usage so the company can take immediate remedial actions. Which solution will meet this requirement with the LEAST latency?

Options

  • ACreate an AWS Lambda function to query Aurora for drops in network usage. Use Amazon
  • BModify the processing application to publish the data to an Amazon Kinesis data stream. Create
  • CReplace the Aurora database with an Amazon DynamoDB table. Create an AWS Lambda
  • DCreate an AWS Lambda function within the Database Activity Streams feature of Aurora to detect

How the community answered

(38 responses)
  • A
    13% (5)
  • B
    74% (28)
  • C
    11% (4)
  • D
    3% (1)

Why each option

The telecommunications company needs to identify sudden drops in network usage from real-time streaming data with the least latency to take immediate remedial actions.

ACreate an AWS Lambda function to query Aurora for drops in network usage. Use Amazon

Querying an Aurora database with a Lambda function for drops in network usage introduces inherent latency, as data must first be written and aggregated into Aurora, then periodically queried, which is not suitable for 'least latency' real-time detection of immediate drops.

BModify the processing application to publish the data to an Amazon Kinesis data stream. CreateCorrect

Modifying the processing application to publish data to an Amazon Kinesis Data Stream enables real-time ingestion of high-volume data. An AWS Lambda function can then be configured to consume directly from the Kinesis Data Stream, processing records as they arrive with millisecond-level latency, allowing for immediate anomaly detection and triggering actions with the least possible delay.

CReplace the Aurora database with an Amazon DynamoDB table. Create an AWS Lambda

Replacing Aurora with DynamoDB and using a Lambda function triggered by DynamoDB Streams still involves writing data to a database first. A direct stream-to-function approach (Kinesis to Lambda) is more immediate for detecting anomalies from the raw usage data stream.

DCreate an AWS Lambda function within the Database Activity Streams feature of Aurora to detect

Database Activity Streams in Aurora are primarily for auditing and compliance, reporting database changes rather than the raw, real-time network usage data itself before it hits the database. Detecting drops directly from the source stream is lower latency for the actual event.

Concept tested: Real-time stream processing for anomaly detection

Source: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html

Topics

#Real-time data processing#Streaming analytics#Low-latency detection#Kinesis & Lambda

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice