Skip to content
Tech Interview Prep
Technical interview guide

Security Monitoring & Logging

What to log, how SIEMs correlate it, and the difference between detection and prevention controls.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v4
Editorial status
Reviewed

Scope: NIST SP 800-53 Rev. 5; NIST SP 800-92 final plus Rev. 1 initial public draft context; MITRE ATT&CK detection strategies accessed 2026-08-31.

Overview

Curated: · Written: · Reviewed:

Security Monitoring & Logging

In one line

Security monitoring turns trustworthy telemetry into investigation and response decisions. Reach for it when you must name who did what, to which target, and when, across identity, cloud, application, endpoint and network sources, and when you must later prove that the evidence is complete.

Key definitions

  • Logging: generating, shipping, normalizing, storing, accessing and disposing of event records.
  • Detection: a rule or model with a hypothesis, required telemetry, window, threshold, severity, owner and runbook. It alerts after the action.
  • Prevention: a control that blocks the action (MFA, an IAM deny, an EDR block). It stops the action but does not prove intent.
  • Correlation key: a stable identifier (request_id, session, principal ID) joined across sources. Timestamp proximity is the weaker fallback.
  • Coverage claim: a technique counts as covered only when a controlled test fired the alert with fields an analyst can act on.
  • Silent source: a log source that stops reporting. Treat it as an alert, because silence looks the same as a quiet system.

Formulas and complexity

400 GB/day+300 GB/day=700 GB/day>250 GB/day headroom400\ \text{GB/day} + 300\ \text{GB/day} = 700\ \text{GB/day} > 250\ \text{GB/day headroom}

Quote this when a team wants to add two sources to a capped SIEM: the sum has to fit the headroom, or something else has to be reduced first.

How it works

  1. Each source emits records with event time, receipt time, actor, action, target, outcome and a request or session identifier.
  2. A shipper forwards records off the host to storage the host cannot write to. Parsers normalize fields into a versioned schema and keep the raw event.
  3. Enrichment adds asset, identity and threat context. Correlation joins on stable keys within a defined window.
  4. Rules raise alerts into triage. Health checks watch freshness, parse failures and silent sources, and they alert on those too.
Sources: IdP, cloud, app, EDR, K8s audit Shipper, off-host Parse and normalize, versioned schema Raw and normalized store Rules: hypothesis, window, threshold Alert with actor, target, evidence Health: freshness, parse failures, silence

When to use and when not to

SituationDetection (rule or hunt)Prevention (block, deny, MFA)
The action must never succeedToo late, it only reportsUse it
Action already happened, you need the timelineUse it, with retained historyNot applicable
A false positive would block usersLow harm, alert onlyHigh harm, avoid
Need to replay past data for a new ruleWorks if the data was keptNot applicable
High-volume, low-value source under cost pressureSample only classes no rule readsDo not sample denials or auth events

Traps interviewers probe

  1. Treating the SIEM purchase as capability. Fix: name an owner, a use case, a data contract and a tested rule for each use case.
  2. Counting rules as coverage. Fix: run an atomic test per technique and record the alert fields. A rule that yields a hostname and no user or process fails the usable test.
  3. Sampling or dropping high-risk events to save cost. Fix: keep full capture for authentication, privileged and control-plane events. Check which fields each rule reads before sampling anything.
  4. Trusting local logs. Fix: ship records off-host promptly to write-protected storage, and alert when a source stops reporting.
  5. Suppressing noisy alerts. Fix: find the root cause, add reliable context and split the use case. Do not suppress an alert you cannot explain.

Interview tips

Open with the decision: "A SIEM only helps if the event is present, parsed, timed and joinable. I start from the question the detection answers, then work back to the authoritative source and its fields."

Follow-ups to expect:

  • How do you prove the rule fires on real data?
  • What is your retention, and what happens to an investigation older than it?
  • How do you handle a source that goes silent?
  • Where does clock skew come from, and how do you record it?
  • Which fields do you never log?

30-second answer outline:

  1. Name the question the detection answers and the threat it maps to.
  2. Name the authoritative source, its fields, and a stable correlation key.
  3. Describe the rule: window, threshold, exclusions, severity and owner.
  4. Say how it was tested: historical replay, an atomic test, and a check that the alert carries actionable context.
  5. Say what happens when the source goes silent, and what alternate evidence covers the gap.

Feedback on this overview

Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.