All fields

“CLR & Runtime” in Information Technology

40 questions across 1 technology.

Information Technology

40 questions in 1 technology

#QuestionTechnologyTopicLevel
1How does the CLR's Dynamic Profile-Guided Optimization (Dynamic PGO) improve JIT-compiled code quality at runtime? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
2What is the CLR (Common Language Runtime), and what are its core responsibilities? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
3What is the CLR, and why is it central to how .NET applications execute? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
4What is the relationship between the CLR and the .NET class library (BCL - Base Class Library)? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
5How does the CLR's type system distinguish between value types and reference types, and where is each typically allocated? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
6What is the difference between the CLR's Server GC and Workstation GC modes, and how do you choose between them? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
7How does the CLR handle exceptions at a low level, and what is the performance implication of throwing exceptions frequently? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
8How does the CLR ensure type safety and memory safety, and what categories of bugs does this prevent compared to unmanaged languages like C++? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
9What is an assembly's manifest, and what identity information does it contain? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
10What is .NET, and how does it work at a high level? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
11What is CIL (Common Intermediate Language), and what role does it play between source code and execution? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
12What is the difference between managed and unmanaged code in .NET, and when would you need to work with the latter? .NET › CLR & Runtime.NETCLR & RuntimeBeginner
13What is tiered compilation, and how does it balance fast startup with peak execution performance? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
14What is JIT (Just-In-Time) compilation, and how does it differ from ahead-of-time (AOT) compilation? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
15What is the Common Type System (CTS), and how does it enable interoperability between different .NET languages? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
16What does the `unsafe` keyword and pointer usage in C# allow, and why would a developer opt into it? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
17What is the AppDomain concept in .NET Framework, and why was it removed from modern .NET? .NET › CLR & Runtime.NETCLR & RuntimeIntermediate
18What is boxing and unboxing, and what performance cost does it incur? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
19How does Span<T> improve performance for buffer and array manipulation compared to traditional array slicing? .NET › CLR & Runtime.NETCLR & RuntimeAdvanced
20How does the CLR implementation differ between .NET Framework and modern .NET (CoreCLR)? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkAdvanced
21How does reflection allow inspecting an assembly's types and metadata at runtime, and what are common uses? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
22How does .NET's runtime automatically size the ThreadPool and GC based on container CPU limits, and what issue can arise with fractional CPU limits? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
23What is the fundamental difference between .NET (formerly .NET Core) and .NET Framework? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkBeginner
24What is an assembly in .NET, and what does it contain? .NET › Assemblies & NuGet.NETAssemblies & NuGetBeginner
25What is the Diagnostics IPC channel, and how do diagnostic tools like dotnet-trace connect to a running .NET process without a debugger? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceBeginner
26What are the practical differences between .NET Framework, .NET Core, and modern (unified) .NET? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkBeginner
27Why did Microsoft skip version 4 and name the unified platform '.NET 5' instead of '.NET Core 4'? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
28How does performance typically compare between .NET Framework and modern .NET (e.g., .NET 8)? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
29How does cross-platform support differ between .NET Framework and modern .NET? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
30Can .NET Framework and modern .NET applications be run side by side on the same machine, and how does that work? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkIntermediate
31What is the Global Assembly Cache (GAC), and is it still relevant in modern .NET? .NET › Assemblies & NuGet.NETAssemblies & NuGetIntermediate
32How does dotnet-counters provide live performance monitoring, and what key metrics does it expose by default? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceIntermediate
33What is BenchmarkDotNet, and why is it preferred over manual Stopwatch-based timing for measuring code performance? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceIntermediate
34What is the Large Object Heap (LOH), and why do objects larger than 85,000 bytes behave differently in the garbage collector? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceIntermediate
35How do you configure a .NET container to respect memory and CPU limits set by the container orchestrator (like Kubernetes resource limits)? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
36What major APIs or features exist in .NET Framework but are unavailable or different in modern .NET? .NET › .NET vs .NET Framework.NET.NET vs .NET FrameworkAdvanced
37What is assembly loading context, and how does AssemblyLoadContext enable plugin isolation in modern .NET? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
38How does token validation work under the hood when the JwtBearer middleware receives a request, and what checks does it perform? .NET › Authentication & Authorization (Identity, JWT, OAuth).NETAuthentication & Authorization (Identity, JWT, OAuth)Advanced
39How would you profile and reduce excessive garbage collection pauses affecting application latency? .NET › Diagnostics & Performance.NETDiagnostics & PerformanceAdvanced
40How does EF Core's compiled queries feature improve performance for frequently-executed queries, and when is it worth using? .NET › Entity Framework Core & Data Access.NETEntity Framework Core & Data AccessAdvanced