Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 subjective questions Advanced PowerShell and Automation

CSC104 — It Fundamentals 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define a PowerShell module. Explain how modules are discovered, imported, and used in an automation script.

  2. Question 2 of 20

    Explain how PowerShell can import, process, and export CSV data. Give an example involving a list of users.

  3. Question 3 of 20

    Compare the handling of CSV, JSON, and XML files in PowerShell. State an appropriate use case for each format.

  4. Question 4 of 20

    Describe how to create a reusable menu-driven PowerShell script that accepts and validates user choices.

  5. Question 5 of 20

    Explain the different methods of collecting input through PowerShell prompts and discuss how input can be validated securely.

  6. Question 6 of 20

    Explain how PowerShell manages services and processes. Distinguish between service management and process management.

  7. Question 7 of 20

    Describe how PowerShell can read and modify the Windows Registry safely. Include suitable commands and precautions.

  8. Question 8 of 20

    Explain how PowerShell is used to create and manage scheduled tasks. Describe the main components of a task definition.

  9. Question 9 of 20

    Describe how the Active Directory PowerShell module can be used to create and manage user accounts.

  10. Question 10 of 20

    Design an automation workflow for bulk Active Directory user provisioning from a CSV file. Explain validation, execution, and reporting.

  11. Question 11 of 20

    Define PowerShell Remoting and explain how commands and scripts are executed on one or more remote computers.

  12. Question 12 of 20

    Compare PowerShell Remoting with PowerShell Jobs. How can they be combined for parallel administration?

  13. Question 13 of 20

    Explain the lifecycle of a PowerShell background job and describe how its output and errors are retrieved.

  14. Question 14 of 20

    What is an advanced PowerShell function? Explain the purpose of CmdletBinding, parameter attributes, and validation attributes.

  15. Question 15 of 20

    Write and explain an advanced function that restarts a service while supporting validation, pipeline input, -WhatIf, and error handling.

  16. Question 16 of 20

    Describe the methods available for creating a graphical user interface with PowerShell. What design and threading issues must be considered?

  17. Question 17 of 20

    Explain how to design log automation in PowerShell for reliable auditing and troubleshooting.

  18. Question 18 of 20

    Design a PowerShell-based system monitoring script for CPU, memory, disk space, services, and event logs. Explain how alerts should be generated.

  19. Question 19 of 20

    Describe how PowerShell can automate a software deployment task across multiple computers while supporting verification and rollback.

  20. Question 20 of 20

    Explain the principles that make a PowerShell automation script reliable, secure, and maintainable, using user management or system administration as context.

That's unit 6

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.