All fields

“Dependencies” in Information Technology

33 questions across 14 technologies.

Information Technology

33 questions in 14 technologies

#QuestionTechnologyTopicLevel
1What is dependency injection, and what problem does it solve compared to a class creating its own dependencies directly? C# › Dependency Injection & IoC PrinciplesC#Dependency Injection & IoC PrinciplesBeginner
2What is dependency injection, and how does it improve the design of PHP applications compared to creating dependencies directly inside a class? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersBeginner
3How does pyproject.toml serve as the modern standard for defining a Python package's build configuration and dependencies? Python › Modules & PackagingPythonModules & PackagingIntermediate
4What is the difference between constructor injection and service location (using IServiceProvider directly to resolve dependencies)? .NET › Dependency Injection.NETDependency InjectionIntermediate
5What is the difference between constructor injection and using IServiceProvider directly to resolve dependencies imperatively (service location)? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionIntermediate
6How do you distinguish between transient errors (worth retrying) and permanent errors (should fail immediately) when designing error handling for calls to external dependencies? ASP.NET Core › Error HandlingASP.NET CoreError HandlingIntermediate
7How do you add pre-built health checks for common external dependencies like SQL Server, Redis, or a URL endpoint, using the community AspNetCore.Diagnostics.HealthChecks packages? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksIntermediate
8What is the difference between Maven's <dependencies> scope values (compile, provided, runtime, test) and how do they affect what's included in the final packaged artifact? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
9How do the requires and exports directives in a module-info.java file work together to define a module's dependencies and public API surface? Java › Java Platform Module System (JPMS)JavaJava Platform Module System (JPMS)Intermediate
10How would you mock a service during testing to isolate a component from its real dependencies? Angular › Services & Dependency InjectionAngularServices & Dependency InjectionIntermediate
11How does AWS Batch support defining dependencies between jobs to build multi step processing pipelines? AWS › AWS BatchAWSAWS BatchIntermediate
12How do Lambda layers help share common code and dependencies across multiple functions without duplicating that code in every deployment package? AWS › Lambda & ServerlessAWSLambda & ServerlessIntermediate
13How does autowiring work in a service container, and how does it use type hints to automatically resolve a class's dependencies? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersIntermediate
14What key sections should a well structured composer.json file for a publishable package include, beyond the basic name and dependencies? PHP › Package Development & Publishing with ComposerPHPPackage Development & Publishing with ComposerIntermediate
15How do provider dependencies and provider composition work in Riverpod, letting one provider genuinely and cleanly depend on the current value of a completely separate other provider? Flutter › Flutter Riverpod Code Generation & ProvidersFlutterFlutter Riverpod Code Generation & ProvidersIntermediate
16How should you properly and correctly handle actual external dependencies, such as a genuine real network API or Firebase, within an integration test, given that these tests genuinely run using your actual real complete app? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterIntermediate
17How do circular module dependencies in TypeScript behave differently depending on whether the compiled output targets CommonJS or ES Modules? TypeScript › ModulesTypeScriptModulesAdvanced
18How do you audit a .NET project's dependencies for known security vulnerabilities using NuGet tooling? .NET › Assemblies & NuGet.NETAssemblies & NuGetAdvanced
19How would you optimize a Docker image build for a solution with multiple .NET projects sharing common dependencies, to maximize layer cache reuse? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
20How would you design a health check for a service with multiple independent downstream dependencies where you want the overall status to reflect the worst individual result, but also need each dependency's specific status individually visible for diagnostics? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksAdvanced
21How would you configure a Maven or Gradle build to produce a shaded/fat JAR containing all dependencies bundled into a single executable JAR file? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
22How would you configure a Node.js project's package.json to support both being used as a library (imported by others) and having its own development scripts, distinguishing dependencies from devDependencies correctly? Node.js › Git & Project ManagementNode.jsGit & Project ManagementAdvanced
23How does Docker Compose simplify running a Node.js application alongside its dependencies (like a database and Redis) during local development? Node.js › Docker & Containerization for Node.jsNode.jsDocker & Containerization for Node.jsAdvanced
24What steps should you take to keep dependencies and the Next.js framework itself secure over time? Next.js › Security Best Practices in Next.jsNext.jsSecurity Best Practices in Next.jsAdvanced
25How can ECR pull through cache repositories simplify managing dependencies on public container registries while maintaining private, controlled access? AWS › Elastic Container Registry (ECR)AWSElastic Container Registry (ECR)Advanced
26How should a team manage Composer dependencies securely and reliably across development, staging, and production environments, including handling private packages? PHP › ComposerPHPComposerAdvanced
27How can scoped dependency injection help properly manage the specific lifecycle of dependencies that should genuinely only exist for the duration of a particular feature or a specific user session, rather than living for the entire lifetime of the whole application? Flutter › Dependency Injection in Flutter (GetIt & Service Locator)FlutterDependency Injection in Flutter (GetIt & Service Locator)Advanced
28How do you add a NuGet package to a MAUI project? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesBeginner
29How do you add a NuGet package to a MAUI project? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesBeginner
30How do you evaluate whether a third-party library is production-ready for MAUI? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesAdvanced
31How do you conditionally reference a package only for specific platforms? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesAdvanced
32How do you evaluate whether a third-party library is production-ready for MAUI? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesAdvanced
33How do you conditionally reference a package only for specific platforms? .NET MAUI › Native Interop & Libraries.NET MAUINative Interop & LibrariesAdvanced