Answer :
- Reduced complexity and dependencies
Explanation :
Modularity in Puppet module design actually increases the number of dependencies, but it also makes it easier to manage and maintain those dependencies.2. < 2 > Which of the following is an example of composability in Puppet module design?A) Creating a module that installs and configures Apache web serverB) Creating a module that installs and configures MySQL database serverC) Creating a module that installs and configures both Apache and MySQL serversD) Creating a module that installs and configures a custom application that requires both Apache and MySQL serversAnswer: D) Creating a module that installs and configures a custom application that requires both Apache and MySQL servers. Explanation: Composability refers to the ability to combine modules to create more complex configurations. In this case, the custom application module would require both the Apache and MySQL modules to function properly.3. < 3 > Which of the following is a best practice for designing modular Puppet code?A) Use global variables to simplify codeB) Avoid using classes and defined typesC) Use descriptive and meaningful module namesD) Embed all module dependencies within the moduleAnswer: C) Use descriptive and meaningful module names. Explanation: Using descriptive and meaningful module names makes it easier to understand the purpose and function of each module, which in turn makes it easier to manage and maintain the code.4. < 4 > Which of the following is a disadvantage of using inheritance in Puppet module design?A) Increased code complexityB) Reduced code reusabilityC) Increased module dependenciesD) Reduced flexibility and customizationAnswer: D) Reduced flexibility and customization. Explanation: Inheritance can make it more difficult to customize and modify modules, as changes made to the parent module will affect all child modules.5. < 5 > Which of the following is a benefit of using roles and profiles in Puppet module design?A) Increased code reusabilityB) Reduced