Security Architecture

An API gateway's logs show a service account calling a customer-export endpoint at 03:00 for 4,000 sequential record IDs. Each entry records the timestamp, principal, source IP, endpoint and status code, and every call returned HTTP 200. The SOC must measure how much data left. Which field should be added to the log?

Show the answer

Correct answerA. Response size in bytes for each request

AWhy this is right: Bytes returned per call, summed over the calls, give the volume of data that left through the endpoint.

BWhy not this: The method shows the kind of call, such as GET, but not how much data each response carried.

CWhy not this: The User-Agent helps profile the client but says nothing about the volume returned.

DWhy not this: Latency may loosely track response size but varies with load, so it cannot measure the data returned.

The bytes returned per request, summed across the 4,000 calls, measure how much data left. Method, User-Agent and latency describe how each call was made but not how much it returned, and a status of 200 only shows that each call succeeded.