📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 .NET Interview Questions

1325 questions for senior .NET engineer interviews, each with a 30-second answer, the full answer, a deep dive, the follow-ups interviewers ask next, and real-world production problems.

Log Management

Log platforms (Application Insights and Log Analytics, Seq, ELK and OpenSearch, Grafana Loki), log level strategy, querying logs with KQL, enrichment, masking, sampling and retention in multi-service logging pipelines.

  1. Your team needs a central place for logs from a set of .NET 10 services on Azure. Compare Application Insights with Log Analytics, Seq, the ELK stack or OpenSearch, and Grafana Loki. How do they store and index logs, what do they cost to run and retain, and how would you choose?

    Compares the main log platforms for .NET teams (Application Insights and Log Analytics, Seq, Elasticsearch/OpenSearch, Grafana Loki) on storage and indexing model, query language, licensing, cost drivers, retention tiers and Australian data residency, and how to choose.

    Intermediate Theory Log Management · 🔗 3 follow-ups · 🛠 1 real-world
  2. What is your log level strategy for a .NET 10 service in production? What belongs at Trace, Debug, Information, Warning, Error and Critical, how do you change levels at runtime without a redeploy, and how do you stop a log flood from hurting the service and the bill?

    Production log level policy for .NET: what each level means, category filters, changing levels at runtime (reloadable configuration, Azure App Configuration, Serilog level switches), log sampling and buffering, rate limiting, and protecting the service and budget from log floods.

    Mid-Level Theory Log Management · 🔗 3 follow-ups · 🛠 1 real-world
  3. Customers report that checkout failed for some of them in the last hour. Using KQL in Application Insights (Log Analytics), show how you would find which operations are failing, how the failures break down by result code and exception, and how you would follow one failed request across services by its trace id.

    Hands-on KQL for incident questions in workspace-based Application Insights: failure rate by operation over time, breakdown by result code, exception and role, joining requests, dependencies, exceptions and traces by OperationId (the W3C trace id), and turning the query into an alert.

    Mid-Level Coding Log Management · 🔗 3 follow-ups · 🛠 1 real-world
  4. You run about 30 .NET services on Kubernetes and Azure. Design the logging pipeline: how logs get from the services to storage, where you enrich, filter, sample and mask them, and how you set retention by data class. Where does the OpenTelemetry Collector fit, and what are the failure modes?

    Architecture of a multi-service logging pipeline: OTLP from .NET services, OpenTelemetry Collector agent and gateway tiers, enrichment with Kubernetes and resource attributes, filtering and sampling, masking personal data, routing by data class to different backends and retention, back-pressure and failure modes.

    Senior Architecture Log Management · 🔗 3 follow-ups · 🛠 1 real-world

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me