โ† All SAC Flashcard Decks

Automation, Scripting, and Virtualization Flashcards

6 cards from real SAC practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Automation, Scripting, and Virtualization flashcards as text
  1. Which scripting language is most commonly used for Windows system administration?

    Answer: PowerShell

    PowerShell is a powerful command-line shell and scripting language developed by Microsoft, specifically designed for system administration tasks on Windows. It provides extensive capabilities for automating administrative tasks, managing configurations, and interacting with various Windows components and services through cmdlets. Its object-oriented nature makes it highly efficient for complex automation.

  2. What is the purpose of a cron job in Linux?

    Answer: To schedule repetitive tasks

    A cron job in Linux is a scheduled command that runs automatically at specified intervals. It is used to automate repetitive system administration tasks, such as backups, log rotation, system cleanup, or custom script execution. This ensures that these operations are performed consistently without manual intervention, improving system reliability and efficiency.

  3. Which command is used to create a virtual machine in VirtualBox from the command line?

    Answer: VBoxManage

    `VBoxManage` is the command-line interface for Oracle VM VirtualBox. It allows users to control all aspects of VirtualBox, including creating, configuring, starting, and stopping virtual machines, as well as managing virtual disks and networks. This tool is essential for scripting and automating VirtualBox operations.

  4. What is a key benefit of using virtualization?

    Answer: Better resource utilization

    Virtualization allows multiple operating systems and applications to run concurrently on a single physical server, each within its own isolated virtual machine. This significantly improves resource utilization by consolidating workloads, reducing the need for multiple physical machines. This consolidation leads to savings in hardware, power, and cooling costs.

  5. Which command can be used to execute a shell script in Linux?

    Answer: ./scriptname

    In Linux, `.` refers to the current directory. To execute a shell script located in the current directory, you need to explicitly tell the shell where to find it by using `./scriptname`. This ensures that the script is run using the appropriate interpreter (e.g., bash, sh) defined in its shebang line, if executable permissions are set.

  6. Which tool is commonly used to manage virtual machines on Linux servers?

    Answer: KVM

    KVM (Kernel-based Virtual Machine) is an open-source virtualization technology built into the Linux kernel that turns it into a hypervisor. It allows a Linux host to run multiple isolated virtual machines efficiently. KVM is a popular and powerful solution for managing virtualized environments on Linux servers, offering high performance and scalability.