Process Management

16. When Windows boots up, what is the first non-kernel process that starts?

  • Powershell.
  • The smss.exe process
  • The csrss.exe process.
  • The winlogon process.

17. In the following Linux command, which is the parent process and which is the child?

$ less /etc/myfile | grep Hello

  • The parent is grep and the child is less.
  • The parent is /etcand the child is myfile.
  • The parent is less and the child is /etc/myfile.
  • The parent is less and the child is grep.

18. Which of the following methods can be used to get information on processes that are running in Windows? Select all that apply.

  • Use the Windows Task Manager.
  • From the CLI, use the tasklist command.
  • From the PowerShell prompt, use the Get-Process commandlet.
  • From the CLI, use the ps command.

19. Which of the following methods will provide information on processes that are running in Linux? Select all that apply.

  • List the contents of the /proc directory.
  • Use the ps -x command.
  • List the contents of the /etc directory.
  • Use the ls command.

20. What is the default action of the SIGINT signal?

  • To terminate the process that is signaled
  • To restart the process that is signaled
  • To put the process that is signaled into a sleep state
  • To suspend the process that is signaled

21. You launch notepad.exe from a PowerShell command prompt. Later, you use Process Explorer to restart the notepad.exe process? After restart, what is the parent process of notepad.exe?

  • Process Explorer (procexp.exe)
  • smss.exe
  • notepad.exe
  • PowerShell (powershell.exe)

22. In Linux, what signal puts a process into a suspended state?

  • SIGKILL
  • SIGTERM
  • SIGINT
  • SIGTSTP

23. In iOS and Android, which app becomes a foreground app when you go to the home screen?

  • SMSS
  • The Home app
  • There are no foreground apps when you are on the home screen.
  • All open apps

24. In Windows, what information is displayed by the Resource Monitoring tool? Select all that apply.

  • System hardware properties
  • Process information along with data about the resources that the process is consuming
  • Information about current time and how long your system’s been running
  • Information about particular resources on the system (like CPU, Memory, and Network usage)

25. What does the top command do in Linux? Select all that apply.

  • It provides information on process CPU and memory usage.
  • It provides a snapshot of total tasks currently running or idling.
  • It lists the top ten largest files on the system.
  • It lists the top processes that are using the most resources on a machine.

Shuffle Q/A 1

26. Which of the following statements are true about child processes in Windows? Select all that apply.

  • A child process inherits environment variables and settings from its parent.
  • A child process can be terminated by clicking on the X button in the top right corner of the application.
  • A child process is dependent on its parent process until the child process is terminated.
  • A child process can be terminated by running the taskkill /pidcommand in the CLI.

27. In Linux, what process has the PID of 1?

  • kernel
  • less
  • grep
  • init

Devendra Kumar

Project Management Apprentice at Google

Leave a Reply