Skip to content
Tech Interview Prep

Real Interview Questions for the Cybersecurity Engineer at Elm

New

Practice MCQs

Answers count toward the Cybersecurity Engineer and overall leaderboards; your latest answer to each question is the one that counts.

9 questions · Flow follows Relevance until this set has a learning order.

MCQ-1A security operations team sends 20 Hz sensor telemetry over a LAN where each new sample supersedes the last, so a lost sample needs no resend. It wants minimal latency and no connection setup before sending. Which transport should it choose for this telemetry stream?
Difficulty: Easy
MCQ-2A cybersecurity team faces a roadmap deadline for a new dashboard, an internet-facing service with a known exploitable CVE patched upstream, and a legacy logging gap with no active exploitation. The CVE is reachable by unauthenticated users and exploitation is reported in the wild. Which debt item should be scheduled first?
Difficulty: Easy
MCQ-3A Java service declares `int processed` as volatile and eight worker threads each run `processed++` in a loop, yet the final total is consistently below the expected count. Which change makes the shared increments reliable?
Difficulty: Medium
MCQ-4A Python toolkit defines `Scanner` with `scan(target)`, subclassed by `PortScanner` and `WebScanner` overriding it, and callers invoke `scan` on each instance polymorphically. A new `DnsScanner` must join that collection without changing caller code. Which implementation should the team use?
Difficulty: Easy
MCQ-5A Spring `@Transactional` checkout method submits audit and inventory writes to two threads via an `ExecutorService`, expecting one shared transaction. The workers run on pooled threads and their writes commit even when checkout rolls back. What explains this behaviour?
Difficulty: Medium
MCQ-6A Spring Boot singleton `AuthService` injects a prototype-scoped `TokenParser` directly, expecting a fresh parser per login and its `@PreDestroy` cleanup at shutdown. The same parser is shared across logins, cleanup never runs, and the service also fails to start in a test profile where `TokenParser` is absent. Which injection change fixes this setup?
Difficulty: Hard
MCQ-7A Spring Boot `CacheService` needs a `MetricsRegistry` that another bean registers late, after `CacheService` is constructed, and some deployments omit it entirely. Unit tests also replace the registry after constructing the service directly. Which injection type for `MetricsRegistry` fits this setup?
Difficulty: Medium
MCQ-8A checkout service queries Postgres for a customer's recent orders, filtering on `customer_id` and sorting by `created_at`. `EXPLAIN ANALYZE` shows a sequential scan over 80 million rows taking 620 ms, with low CPU and an unsaturated connection pool. What change most directly removes this bottleneck?
Difficulty: Medium
MCQ-9A candidate for Elm's Cybersecurity Engineer role previously led SOC triage, tuning detections that cut mean time to detect from four hours to forty-five minutes, and ran phishing simulations that raised reporting rates. In the interview, the panel asks how that prior experience prepares them for this role. Which response best answers the question as asked?
Difficulty: Easy

Curated: · Written: · Reviewed: