Web.config files are _______. The Machine.config file is _____.
-
Required, required
-
Required, Optional
-
Optional, Optional
-
Optional, Required
D
Correct answer
Explanation
Web.config files are optional - applications can run without them using inherited settings. Machine.config is required as it defines the base configuration for the entire .NET framework on a machine. This hierarchical design allows optional application-specific overrides of required framework-level defaults.