50 questions for “Sharing”

Found in 1 field. Select a question to see its full answer.

Information Technology

50 questions in 10 technologies

#QuestionTechnologyTopicLevel
1What is a common real world use case for the Context API besides sharing a theme? React › Context APIReactContext APIBeginner
2How does merging work between a namespace and a class (or function) sharing the same name? TypeScript › Namespaces & Declaration MergingTypeScriptNamespaces & Declaration MergingIntermediate
3What is CORS middleware in Express, and how does the cors package simplify configuring Cross-Origin Resource Sharing? Node.js › Express & MiddlewareNode.jsExpress & MiddlewareIntermediate
4How do 'extends' in tsconfig.json enable sharing a base configuration across multiple projects in a monorepo, and how do overrides get merged? TypeScript › tsconfig & Compiler OptionsTypeScripttsconfig & Compiler OptionsAdvanced
5How 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
6How does Class Data Sharing (CDS) and Application Class Data Sharing (AppCDS) improve JVM startup time, and how does it relate to class loading and verification? Java › Class Loading & Bytecode VerificationJavaClass Loading & Bytecode VerificationAdvanced
7How can cross account IAM roles enable secure resource sharing and centralized management across accounts within an organization? AWS › AWS Organizations & Multi Account StrategyAWSAWS Organizations & Multi Account StrategyAdvanced
8How does PHP handle multiple inheritance limitations, and how do traits provide a mechanism for sharing reusable code across multiple unrelated class hierarchies? PHP › OOPPHPOOPAdvanced
9What does the WithMethods() CORS policy builder method control, and why restrict it instead of using AllowAnyMethod()? .NET › CORS & Cross-Origin Resource Sharing.NETCORS & Cross-Origin Resource SharingBeginner
10How would you set up a CORS policy that allows any subdomain of a given domain (like *.mycompany.com) using SetIsOriginAllowed? .NET › CORS & Cross-Origin Resource Sharing.NETCORS & Cross-Origin Resource SharingIntermediate