Module 1 - 04-3 Flashcards

The user interface

1
Q

Define User interface

A

A program that allows a user to control the functions of the operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What two types of interfaces?

A
  • Graphical User Interface (GUI)
  • Command-Line Interface (CLI)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does GUI stand for?

A

Graphical User Interface (GUI)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define GUI

A

A user interface that uses icons on the screen to manage different tasks on the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain GUI

A

Most operating systems can be used with a graphical user interface.
If you’ve used a personal computer or a cell phone, you have experienced operating a GUI.
Most GUIs include these components: a start menu with program groups, a task bar for launching programs, and a desktop with icons and shortcuts.
All these components help you communicate with the OS to execute tasks.
In addition to clicking on icons, when you use a GUI, you can also search for files or applications from the start menu.
With a graphical user interface, you must do one task at a time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does CLI stand for

A

Command-Line Interface (CLI)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define CLI

A

A text-based user interface that uses commands to interact with the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain CLI

A

It uses commands to communicate with the operating system and execute tasks like opening programs.
There are no icons or graphics on the screen.
The command-line interface looks similar to lines of code using certain text languages.
A CLI is more flexible and more powerful than a GUI as it gives you a lot of control and customization.
The command-line interface allows for customization, which lets you complete multiple tasks simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of these statements accurately describes a CLI?

  • A CLI uses icons on the screen to make task management more efficient.
  • A CLI is familiar to most users because it is commonly used in cell phones and personal computers.
  • A CLI allows users to enter commands that can perform multiple tasks simultaneously.
  • A CLI includes a start menu for users to search for applications.
A

A CLI allows users to enter commands that can perform multiple tasks simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the Advantages of a CLI in cybersecurity ?

A
  • Efficiency
    A CLI can accept multiple requests at one time, it’s more powerful when you need to perform multiple tasks efficiently.

If you were using a GUI you have to repeat the same steps.

  • History file
    Using the Linux CLI is helpful because it records a history file of all the commands and actions in the CLI.
    If you were using a GUI, your actions are not necessarily saved in a history file.
    If you used a CLI, you’d be able to go back to the history and ensure all of the commands were correctly used.

Additionally, if you suspect an attacker has compromised your system, you might be able to trace their actions using the history file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You are a security professional training all employees at your company on creating a strong password. You explain different strategies that they can use for making passwords secure. You also demonstrate how to change passwords. Your teammates have a wide range of technical expertise.

In this scenario, should you use a GUI or CLI to demonstrate how to change passwords?

A

A GUI would be more effective in this scenario. This is because GUIs are easier for beginners to navigate. These individuals will likely already have experience using GUIs on their phones and computers but may not be familiar with CLIs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You are reviewing log files for a department at your company. Log file names are supposed to include the name of the department. After reviewing multiple log files, you realize that the file names do not include the name of the department. You decide to rename all the log files for this department. There are hundreds of log files.

In this scenario, should you use a GUI or CLI to rename the log files?

A

A CLI would generally be more effective in this scenario. This is because CLIs allow you to perform multiple tasks simultaneously. In this case, you could rename all the files at once. If you used a GUI for this task, you would need to rename the files individually unless you had access to a special program for batch file renaming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You are installing multiple applications. You want to keep a history of commands while you install the applications. This will allow you to check later to ensure that you installed all of the necessary applications and that you installed them correctly.

In this scenario, should you use a GUI or CLI to install the applications?

A

A CLI would be more effective in this scenario. This is because a CLI records a history of all commands used in the CLI. GUIs do not necessarily include a history file of all actions performed in the GUI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a GUI?

  • A user interface that enables people to manage tasks on a computer using icons
  • A user interface that allows people to interact with a computer through commands
  • A user interface that only runs on mobile devices
  • A user interface that runs only on Linux operating systems
A

A user interface that enables people to manage tasks on a computer using icons

A GUI, or graphical user interface, is a user interface that enables people to manage tasks on a computer using icons. Most operating systems can be used with a GUI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following can be components of a GUI? Select all that apply.

  • Task bar
  • Desktop icons and shortcuts
  • Hardware
  • Start menu
A
  • Task bar
  • Hardware
  • Start menu

A task bar is a common component of a GUI.
Desktop icons and shortcuts are common components of a GUI.
A start menu is a common component of a GUI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A security professional uses a(n) _____ to interact with a computer using text-based instructions.

  • text system
  • GUI
  • operating system
  • CLI
A

CLI

A security professional uses a CLI, or command-line interface, to interact with a computer using text-based instructions.

17
Q

A useful feature of a CLI is that it records a history file of commands and actions.

  • True
  • False
A

True

A useful feature of a CLI is that it records a history file of commands and actions. This can help security analysts confirm that they used the correct commands from a playbook. It also might help them trace the actions of an attacker.