IT601 – System and Network Administration: Midterm Important MCQs (171 Solved Questions)
Information Technology • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · IT601 Course Page · IT601 Subjective Pack (30 Q&As)
-
A system is best defined as:
Topic: IT System and Its Components
- A collection of elements or components that are organized for a common purpose ✓ Correct answer
- A single computer connected to the Internet
- A set of software programs installed on a server
- A group of users sharing one network
-
An IT system is a collection of which type of components and resources that support one or more functional objectives of an organization?
Topic: IT System and Its Components
- Only hardware components
- Computing and/or communications components ✓ Correct answer
- Only network components
- Only human resources
-
Which of the following is NOT a component of an IT system?
Topic: IT System and Its Components
- Computing machines
- Software
- Furniture ✓ Correct answer
- Processes
-
How many components does an IT system have?
Topic: IT System and Its Components
- Four
- Five
- Six ✓ Correct answer
- Seven
-
The software component of an IT system includes:
Topic: IT System and Its Components
- Routers, switches and firewalls
- Operating systems, applications and utilities ✓ Correct answer
- Servers and workstations
- Cables and connectors
-
Which of the following belongs to the network component of an IT system?
Topic: IT System and Its Components
- Operating system
- Application software
- Firewall ✓ Correct answer
- End user
-
Servers, workstations, desktops and laptops are different forms of:
Topic: IT System and Its Components
- Software
- Services
- Computing machines ✓ Correct answer
- Processes
-
Change management, configurations and support systems fall under which component of an IT system?
Topic: IT System and Its Components
- Users
- Processes ✓ Correct answer
- Network
- Services
-
Web services and network services are examples of which IT system component?
Topic: IT System and Its Components
- Software
- Services ✓ Correct answer
- Users
- Computing machines
-
According to Evard, a computer machine passes through how many states in its life cycle?
Topic: States of Computer Machines
- Three
- Four
- Five ✓ Correct answer
- Six
-
A machine that has the operating system installed but is not yet set up to function in the system is in the ______ state.
Topic: States of Computer Machines
- New
- Clean ✓ Correct answer
- Configured
- Unknown
-
A machine that is properly configured to meet the needs of the system is in the ______ state.
Topic: States of Computer Machines
- Clean
- Off
- Configured ✓ Correct answer
- Unknown
-
A machine that has been misconfigured or has become out of date is in the ______ state.
Topic: States of Computer Machines
- Unknown ✓ Correct answer
- New
- Clean
- Off
-
Installing the operating system, drivers and software on a machine is part of which process in Evard's life cycle?
Topic: States of Computer Machines
- Entropy
- Debug
- Build ✓ Correct answer
- Retire
-
In Evard's life cycle, the gradual changes made by users, administrators and updates that push a machine away from its configured state are called:
Topic: States of Computer Machines
- Build
- Entropy ✓ Correct answer
- Initialize
- Retire
-
For a compromised machine, the rebuild process involves:
Topic: States of Computer Machines
- Only restarting the machine
- Recovering user data, formatting the disks and reinstalling the OS ✓ Correct answer
- Deleting the user accounts
- Upgrading the RAM
-
In the Off state, a machine is:
Topic: States of Computer Machines
- Powered off and disconnected from the infrastructure ✓ Correct answer
- Fully configured and running
- Waiting for its first OS installation
- Being debugged by the administrator
-
A system administrator looks after:
Topic: System Administration and Maturity Model
- Only computers
- Only networks
- Computers, networks and the people who use them ✓ Correct answer
- Only software applications
-
System administrators are also known by which of the following names?
Topic: System Administration and Maturity Model
- Network administrators and system engineers ✓ Correct answer
- Database designers only
- Web developers only
- Graphic designers
-
The objectives of system administration are:
Topic: System Administration and Maturity Model
- Speed and graphics
- Efficiency and effectiveness ✓ Correct answer
- Cost and marketing
- Design and development
-
Which of the following is NOT a task involved in managing an IT system?
Topic: System Administration and Maturity Model
- Installation and configuration
- Monitoring, logging and reporting
- Provisioning
- Marketing the organization's products ✓ Correct answer
-
A typical small business has no more than how many employees?
Topic: System Administration and Maturity Model
- 500
- 1,000
- 1,500 ✓ Correct answer
- 5,000
-
Process maturity is a measure of:
Topic: System Administration and Maturity Model
- How fast the network is
- How well defined and controlled a system's processes are ✓ Correct answer
- How many servers an organization owns
- How old the hardware is
-
In the System Administration Maturity Model (SAMM), Level 1 is called:
Topic: System Administration and Maturity Model
- Repeatable
- Defined
- Initial ✓ Correct answer
- Optimizing
-
At SAMM Level 1 (Initial), the processes are best described as:
Topic: System Administration and Maturity Model
- Standard and consistent
- Predictable
- Ad hoc processes ✓ Correct answer
- Continuously improving
-
SAMM Level 3 (Defined) is characterized as:
Topic: System Administration and Maturity Model
- Disciplined process
- Standard, consistent process ✓ Correct answer
- Ad hoc process
- Fire fighting
-
SAMM Level 5 (Optimizing) is characterized as:
Topic: System Administration and Maturity Model
- Predictable process
- Disciplined process
- Continuously improving ✓ Correct answer
- Standard, consistent process
-
In SAMM process evaluation ratings, the 'Qualified' rating has a score of:
Topic: System Administration and Maturity Model
- 2
- 4
- 6
- 8 ✓ Correct answer
-
The System Administration Maturity Model (SAMM) is quite similar to which other maturity model?
Topic: System Administration and Maturity Model
- Agile Maturity Model
- ITIL Maturity Model ✓ Correct answer
- DevOps Maturity Model
- MDM Maturity Model
-
Reliability is defined as the probability that a system will perform its intended function(s):
Topic: Reliability and Availability
- At any random time, under any conditions
- During a specified period of time under defined conditions ✓ Correct answer
- Only during working hours
- Without any failure forever
-
If Nw(t) is the number of working systems at time t and N(t0) is the total number of systems, then reliability R(t) is:
Topic: Reliability and Availability
- N(t0) / Nw(t)
- Nw(t) / N(t0) ✓ Correct answer
- Nw(t) x N(t0)
- 1 - Nw(t)
-
The failure probability f(t) of a system is equal to:
Topic: Reliability and Availability
- R(t)
- 1 / R(t)
- 1 - R(t) ✓ Correct answer
- R(t) / 2
-
Out of 200 systems, 180 are still working at time T. The reliability of the systems at time T is:
Topic: Reliability and Availability
- 0.80
- 0.90 ✓ Correct answer
- 0.95
- 1.10
-
The failure rate (lambda) of a component is equal to:
Topic: Reliability and Availability
- MTBF
- 1 / MTBF ✓ Correct answer
- MTTR
- MTBF + MTTR
-
The repair rate (mu) is equal to:
Topic: Reliability and Availability
- 1 / MTTR ✓ Correct answer
- MTTR
- 1 / MTTF
- MTTF + MTTR
-
MTTF is the average time duration before a ______ system component fails.
Topic: Reliability and Availability
- Repairable
- Non-repairable ✓ Correct answer
- Network
- Software
-
MTBF is the average time duration between inherent failures of a ______ system component.
Topic: Reliability and Availability
- Non-repairable
- Repairable ✓ Correct answer
- Virtual
- Standalone
-
Which relation is correct?
Topic: Reliability and Availability
- MTBF = MTTF - MTTR
- MTBF = MTTF + MTTR ✓ Correct answer
- MTTR = MTBF + MTTF
- MTTF = MTBF + MTTR
-
Availability of a component is calculated as:
Topic: Reliability and Availability
- MTTR / (MTBF + MTTR)
- MTBF / (MTBF + MTTR) ✓ Correct answer
- MTBF x MTTR
- MTTF / MTTR
-
A component has MTBF = 100 hours and MTTR = 10 hours. Its availability is approximately:
Topic: Reliability and Availability
- 0.50
- 0.75
- 0.909 ✓ Correct answer
- 0.99
-
In the Weibull distribution, the scale factor (alpha) represents the characteristic life of the product, which is the time at which ______ of the products have failed.
Topic: Reliability and Availability
- 50%
- 63% ✓ Correct answer
- 75%
- 90%
-
In the Weibull distribution, a shape factor (beta) less than 1 represents:
Topic: Reliability and Availability
- Wear-out failures
- Constant failure rate
- Early failures ✓ Correct answer
- No failures
-
For series-connected components, the overall reliability of the system is:
Topic: Reliability and Availability
- The sum of all component reliabilities
- The product of all component reliabilities ✓ Correct answer
- The average of all component reliabilities
- Equal to the highest component reliability
-
MTTD is the average time elapsed between:
Topic: Reliability and Availability
- Two consecutive failures
- The occurrence of a failure and its detection ✓ Correct answer
- Failure and complete repair
- Installation and retirement of a component
-
Which of the following is a planning and design task of a system administrator?
Topic: Common Tasks of a System Administrator
- User management
- IP addressing ✓ Correct answer
- Backup management
- User assistance
-
Which of the following is a routine task rather than a planning and design task?
Topic: Common Tasks of a System Administrator
- Architecture design
- Physical planning
- System monitoring ✓ Correct answer
- Internet vs intranet planning
-
The troubleshooting task mainly involves:
Topic: Common Tasks of a System Administrator
- Purchasing new hardware
- Finding the root cause of problems ✓ Correct answer
- Writing status reports
- Designing the network architecture
-
System monitoring provides data that is used for:
Topic: Common Tasks of a System Administrator
- Capacity planning ✓ Correct answer
- Marketing decisions
- Hiring staff
- Designing websites
-
A request tracking system used while helping users ensures that:
Topic: Common Tasks of a System Administrator
- Users can bypass the administrator
- Problems are not forgotten and users know their problem is being worked on ✓ Correct answer
- Downtime never occurs
- Backups run automatically
-
The Linux operating system architecture is centered around:
Topic: Server Operating Systems: Linux vs Windows
- The Windows NT architecture
- The Linux kernel ✓ Correct answer
- The DOS kernel
- The Unix System V kernel only
-
The Windows operating system is based on:
Topic: Server Operating Systems: Linux vs Windows
- The Linux kernel
- The Windows NT architecture ✓ Correct answer
- The macOS kernel
- The BSD kernel
-
Which server operating system is free and open-source?
Topic: Server Operating Systems: Linux vs Windows
- Windows Server
- Linux ✓ Correct answer
- Both Windows and Linux
- None of them
-
For Windows, Microsoft charges:
Topic: Server Operating Systems: Linux vs Windows
- No fee at all
- A licensing fee per user ✓ Correct answer
- A fee per website
- A fee per email account
-
Linux provides scripting support for:
Topic: Server Operating Systems: Linux vs Windows
- ASP and ASP.NET
- Python, PHP and Perl ✓ Correct answer
- Visual Basic only
- PowerShell only
-
Windows servers provide database support for:
Topic: Server Operating Systems: Linux vs Windows
- MySQL and PostgreSQL
- Microsoft SQL Server and Microsoft Access ✓ Correct answer
- Oracle only
- MongoDB only
-
Which of the following is an advantage of Linux servers?
Topic: Server Operating Systems: Linux vs Windows
- It is beginner-friendly due to its GUI
- It rarely experiences malware, cyber threats or other security errors ✓ Correct answer
- It requires a licensing fee
- It is owned by Microsoft
-
A disadvantage of Linux servers is that:
Topic: Server Operating Systems: Linux vs Windows
- It is more prone to malware
- Its mandatory GUI makes it resource intensive
- Operating via a command line instead of a GUI requires some learning or experience ✓ Correct answer
- It has no community support
-
Windows Server comes with guaranteed:
Topic: Server Operating Systems: Linux vs Windows
- Two years of support only
- Five years of maintenance plus five years of extended support ✓ Correct answer
- Lifetime free support
- No support at all
-
A disadvantage of Windows servers is that:
Topic: Server Operating Systems: Linux vs Windows
- It has no graphical interface
- Its mandatory GUI makes it more resource intensive ✓ Correct answer
- It cannot run third-party applications
- It is not compatible with Microsoft applications
-
Ubuntu Server is a server operating system developed by:
Topic: Ubuntu Server and Package Management
- Microsoft
- Canonical ✓ Correct answer
- Red Hat
- Oracle
-
A key difference between Ubuntu Server Edition and Ubuntu Desktop Edition is that the Server Edition:
Topic: Ubuntu Server and Package Management
- Uses different apt repositories
- Lacks an X window (GUI) environment ✓ Correct answer
- Uses a completely different kernel nowadays
- Cannot run server applications
-
Debian package files typically have the extension:
Topic: Ubuntu Server and Package Management
- .rpm
- .deb ✓ Correct answer
- .exe
- .pkg
-
Dependencies of a package are:
Topic: Ubuntu Server and Package Management
- Copies of the package stored on other servers
- Additional packages required by the principal package in order to function properly ✓ Correct answer
- Users who depend on the package
- Configuration files of the package
-
Unlike other package management systems, dpkg cannot:
Topic: Ubuntu Server and Package Management
- Install packages
- Remove packages
- Automatically download and install packages or their dependencies ✓ Correct answer
- Build packages
-
Which command lists all packages installed on an Ubuntu system?
Topic: Ubuntu Server and Package Management
- dpkg -L
- dpkg -l ✓ Correct answer
- apt update
- apt upgrade
-
A local .deb file is installed on Ubuntu by entering:
Topic: Ubuntu Server and Package Management
- sudo apt remove file.deb
- sudo dpkg -i file.deb ✓ Correct answer
- sudo dpkg -L file.deb
- dpkg -S file.deb
-
The apt command works with Ubuntu's:
Topic: Ubuntu Server and Package Management
- Advanced Packaging Tool (APT) ✓ Correct answer
- Automatic Patching Tool
- Application Program Terminal
- Advanced Program Transfer
-
The command 'sudo apt update' is used to:
Topic: Ubuntu Server and Package Management
- Upgrade all installed packages
- Update the local package index with the latest changes in the repositories ✓ Correct answer
- Remove unused packages
- Restart the system
-
Adding the --purge option to 'apt remove' will also remove:
Topic: Ubuntu Server and Package Management
- The package's dependencies
- The package configuration files ✓ Correct answer
- All user files
- The package index
-
The configuration of APT repositories is stored in:
Topic: Ubuntu Server and Package Management
- /etc/apt/sources.list ✓ Correct answer
- /etc/hosts
- /var/log/dpkg.log
- /etc/nsswitch.conf
-
Actions of the apt command, such as installation and removal of packages, are logged in:
Topic: Ubuntu Server and Package Management
- /var/log/syslog
- /var/log/auth.log
- /var/log/dpkg.log ✓ Correct answer
- /var/log/kern.log
-
Aptitude is best described as:
Topic: Ubuntu Server and Package Management
- A graphical package store
- A menu-driven, text-based front-end to the APT system ✓ Correct answer
- A replacement for dpkg written by Microsoft
- A network monitoring tool
-
Which of the following is an example of a predictable Ethernet interface name in Ubuntu?
Topic: Network Configuration and Name Resolution
- ethernet0
- enp0s25 ✓ Correct answer
- netcard1
- lan0
-
Which command is used to quickly identify all available Ethernet interfaces?
Topic: Network Configuration and Name Resolution
- ip a ✓ Correct answer
- ethtool eth0
- netplan apply
- lshw -class network
-
The ethtool program is used to display and change Ethernet card settings such as:
Topic: Network Configuration and Name Resolution
- User accounts and passwords
- Auto-negotiation, port speed, duplex mode and Wake-on-LAN ✓ Correct answer
- DNS records
- File permissions
-
Network settings made with the 'ip' command are:
Topic: Network Configuration and Name Resolution
- Permanent and stored in netplan files
- Temporary and lost after a reboot ✓ Correct answer
- Applied only to wireless interfaces
- Stored in /etc/hosts
-
The loopback interface is identified by the system as 'lo' and has the default IP address:
Topic: Network Configuration and Name Resolution
- 192.168.1.1
- 10.0.0.1
- 127.0.0.1 ✓ Correct answer
- 8.8.8.8
-
A netplan configuration is applied using the command:
Topic: Network Configuration and Name Resolution
- sudo netplan apply ✓ Correct answer
- ip link set up
- systemctl restart sshd
- brctl addbr
-
Name resolution in IP networking is the process of:
Topic: Network Configuration and Name Resolution
- Assigning IP addresses by DHCP
- Mapping IP addresses to hostnames ✓ Correct answer
- Encrypting network traffic
- Dividing a network into VLANs
-
Entries in the /etc/hosts file have, by default:
Topic: Network Configuration and Name Resolution
- Lower priority than DNS
- Precedence over DNS ✓ Correct answer
- No effect on name resolution
- Priority only for remote hosts
-
The order in which a system selects a method of resolving hostnames is controlled by:
Topic: Network Configuration and Name Resolution
- /etc/resolv.conf
- /etc/nsswitch.conf ✓ Correct answer
- /etc/apt/sources.list
- /etc/ssh/sshd_config
-
The journalctl command is used to:
Topic: Network Configuration and Name Resolution
- Control the system hostname
- Manage the journal, systemd's own logging system ✓ Correct answer
- Set the time and date
- Configure network bridges
-
In legacy bridging on Ubuntu, a new bridge device is created with the command:
Topic: Network Configuration and Name Resolution
- brctl addif
- brctl addbr ✓ Correct answer
- ip addr flush
- ovs-vsctl show
-
Open vSwitch (OVS) is:
Topic: Network Configuration and Name Resolution
- A closed-source routing protocol
- An open source, production-quality, multilayer virtual switch ✓ Correct answer
- A type of network cable
- A Windows-only networking tool
-
MACVLAN allows an administrator to configure subinterfaces of a parent physical Ethernet interface, where each subinterface has:
Topic: Network Configuration and Name Resolution
- The same MAC and IP address
- Its own unique MAC address and its own IP address ✓ Correct answer
- No MAC address at all
- Only an IPv6 address
-
In Unix and Linux, any account with user ID (UID) ______ is a root account, regardless of its name.
Topic: User Management and Security
- 1000
- 100
- 1
- 0 ✓ Correct answer
-
In Ubuntu Server, the root account is:
Topic: User Management and Security
- Enabled with a default password
- Disabled by default ✓ Correct answer
- Deleted permanently
- Accessible without a password
-
The sudo tool allows an authorized user to:
Topic: User Management and Security
- Log in as root permanently
- Temporarily elevate their privileges using their own password ✓ Correct answer
- Bypass all security checks
- Delete the root account
-
To enable the root account in Ubuntu, an administrator should:
Topic: User Management and Security
- Run 'sudo passwd' and give root a password ✓ Correct answer
- Delete the /etc/sudoers file
- Reinstall Ubuntu Server
- Add the user to the root group
-
The root account password in Ubuntu is disabled (locked) using:
Topic: User Management and Security
- sudo passwd -u root
- sudo passwd -l root ✓ Correct answer
- sudo deluser root
- sudo adduser root
-
Which command deletes a user account and its primary group in Ubuntu?
Topic: User Management and Security
- sudo adduser username
- sudo deluser username ✓ Correct answer
- sudo passwd -l username
- sudo addgroup username
-
Deleting a user account in Ubuntu does NOT automatically remove:
Topic: User Management and Security
- The user's password entry
- The user's respective home folder ✓ Correct answer
- The user's primary group
- The user's login shell
-
A user account is locked in Ubuntu with the command:
Topic: User Management and Security
- sudo passwd -u username
- sudo passwd -l username ✓ Correct answer
- sudo chage username
- sudo deluser username
-
The /etc/passwd file contains:
Topic: User Management and Security
- Group names and GIDs only
- User account information, including the primary group membership of each user ✓ Correct answer
- Encrypted passwords of all users
- System log records
-
When a user creates a new file, the group ownership of the file is set to the user's:
Topic: User Management and Security
- Secondary group
- Primary group ✓ Correct answer
- Last used group
- Root group
-
Default (special) group accounts on a typical Linux system usually have GID values:
Topic: User Management and Security
- Above 5000
- Between 1000 and 2000
- Under 1000 ✓ Correct answer
- Exactly 0
-
The default profile copied into a new user's home directory is modeled according to the contents of:
Topic: User Management and Security
- /etc/passwd
- /etc/skel ✓ Correct answer
- /etc/group
- /etc/gshadow
-
The current password expiry status of a user account can be viewed with:
Topic: User Management and Security
- sudo chage -l username ✓ Correct answer
- dpkg -l
- id username
- groups username
-
Locking a user account will NOT prevent the user from logging in remotely if they have previously set up:
Topic: User Management and Security
- A strong password
- RSA public key authentication for SSH ✓ Correct answer
- A secondary group
- A home directory
-
OpenSSH is a freely available version of which protocol family of tools?
Topic: Remote Administration: OpenSSH and Puppet
- Telnet
- Secure Shell (SSH) ✓ Correct answer
- FTP
- HTTP
-
Traditional tools such as telnet and rcp are considered insecure because they:
Topic: Remote Administration: OpenSSH and Puppet
- Are very slow
- Transmit the user's password in cleartext ✓ Correct answer
- Do not support file transfer
- Work only on Windows
-
The OpenSSH server component that listens continuously for client connections is:
Topic: Remote Administration: OpenSSH and Puppet
- ssh
- scp
- sshd ✓ Correct answer
- sftp
-
The default TCP port on which the OpenSSH server listens is:
Topic: Remote Administration: OpenSSH and Puppet
- 21
- 22 ✓ Correct answer
- 80
- 443
-
The behavior of the OpenSSH server (sshd) is configured by editing the file:
Topic: Remote Administration: OpenSSH and Puppet
- /etc/ssh/sshd_config ✓ Correct answer
- /etc/syslog.conf
- /etc/nsswitch.conf
- /etc/apt/sources.list
-
SSH keys for authentication are generated using the command:
Topic: Remote Administration: OpenSSH and Puppet
- ssh-copy-id
- ssh-keygen -t rsa ✓ Correct answer
- sudo passwd
- systemctl restart sshd
-
By default, an SSH public key is saved in the file:
Topic: Remote Administration: OpenSSH and Puppet
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa.pub ✓ Correct answer
- /etc/ssh/sshd_config
- ~/.ssh/authorized_keys on the local machine only
-
In Puppet's client-server architecture, the Puppet Agents retrieve their configuration from the Puppet Master using:
Topic: Remote Administration: OpenSSH and Puppet
- Push mode
- Pull mode ✓ Correct answer
- Broadcast mode
- Manual mode
-
In Puppet, the Puppet Master uses the facts sent by an agent to create a ______ describing how the node should be configured.
Topic: Remote Administration: OpenSSH and Puppet
- Manifest
- Catalog ✓ Correct answer
- Package
- Kernel
-
Zentyal is best described as:
Topic: Remote Administration: OpenSSH and Puppet
- A Windows domain controller
- A Linux small business server ✓ Correct answer
- A network monitoring protocol
- A type of RAID array
-
Logging refers to:
Topic: Logging and Log Rotation
- Recording user passwords
- Record keeping of information about events that occur in a computer system ✓ Correct answer
- Deleting old system files
- Encrypting the file system
-
On Linux, kernel log messages generated at boot time are first stored in:
Topic: Logging and Log Rotation
- /var/log/syslog
- The kernel ring buffer ✓ Correct answer
- /etc/syslog.conf
- The swap file
-
Kernel-related logs on a Linux system can be inspected using the command:
Topic: Logging and Log Rotation
- grep
- dmesg ✓ Correct answer
- tail -f
- logrotate
-
Authentication-related log messages on Ubuntu are recorded in:
Topic: Logging and Log Rotation
- /var/log/kern.log
- /var/log/auth.log ✓ Correct answer
- /var/log/debug
- /var/log/faillog
-
To monitor a log file continuously and see new lines as they are added, use:
Topic: Logging and Log Rotation
- cat file
- head -n 15 file
- tail -f file ✓ Correct answer
- grep file
-
The configuration file of the system logging daemon (syslogd) is:
Topic: Logging and Log Rotation
- /etc/logrotate.conf
- /etc/syslog.conf ✓ Correct answer
- /var/log/syslog
- /etc/cron.daily/logrotate
-
The purpose of log rotation is to:
Topic: Logging and Log Rotation
- Increase the size of log files
- Archive and compress old logs so they consume less disk space ✓ Correct answer
- Delete all log files permanently
- Send logs to remote users
-
The logrotate utility is normally called by the cron scheduler through:
Topic: Logging and Log Rotation
- /etc/cron.daily/logrotate ✓ Correct answer
- /etc/hosts
- ssh-copy-id
- netplan
-
The 'last' command is used to show:
Topic: Logging and Log Rotation
- The last installed packages
- Last logged in users ✓ Correct answer
- The last lines of a file
- The last system error
-
Vim is an acronym for:
Topic: Shell Scripting and Vim
- Virtual Machine
- Vi IMproved ✓ Correct answer
- Visual Mode
- Variable Input Method
-
The default mode of Vim, also called the Normal mode, is the:
Topic: Shell Scripting and Vim
- Insert mode
- Command mode ✓ Correct answer
- Visual mode
- Command-line mode
-
In Vim, pressing the key ______ in command mode switches to insert mode.
Topic: Shell Scripting and Vim
- v
- i ✓ Correct answer
- :
- Esc
-
In Vim, the command to save the file and exit is:
Topic: Shell Scripting and Vim
- :q!
- :wq ✓ Correct answer
- u
- yy
-
In Vim, the command 'yy' is used to:
Topic: Shell Scripting and Vim
- Delete the whole line
- Copy (yank) the whole line ✓ Correct answer
- Undo the last change
- Search for a word
-
A shell script normally begins with the line:
Topic: Shell Scripting and Vim
- #!/bin/sh ✓ Correct answer
- echo start
- function main
- import shell
-
Before running a shell script, it is made executable using the command:
Topic: Shell Scripting and Vim
- chmod ✓ Correct answer
- grep
- unset
- readonly
-
In shell scripting, the special variable $# represents:
Topic: Shell Scripting and Vim
- The exit status of the last command
- The number of arguments supplied to a script ✓ Correct answer
- The process ID of the current shell
- The filename of the current script
-
In shell scripting, the special variable $? represents:
Topic: Shell Scripting and Vim
- The number of arguments
- All the arguments as one string
- The exit status of the last command executed ✓ Correct answer
- The process number of the last background command
-
Which relational operator is used in a shell test to check 'greater than'?
Topic: Shell Scripting and Vim
- -eq
- -gt ✓ Correct answer
- -ge
- -ne
-
The string operator -z checks whether:
Topic: Shell Scripting and Vim
- The string has non-zero length
- The string size is zero (empty string) ✓ Correct answer
- The string is a file name
- Two strings are equal
-
The file test operator -x checks whether a file:
Topic: Shell Scripting and Vim
- Exists
- Is a directory
- Is executable ✓ Correct answer
- Has size greater than zero
-
The until loop in shell scripting executes its statements:
Topic: Shell Scripting and Vim
- While the command is true
- Until the command becomes true ✓ Correct answer
- A fixed number of times only
- Only once
-
The two main types of server processors are:
Topic: Server Hardware: CPU, Memory and Buses
- Intel and AMD
- x86 and RISC ✓ Correct answer
- Xeon and Pentium
- 32-bit and 64-bit
-
x86 processors, the most common type found in servers, are made by companies such as:
Topic: Server Hardware: CPU, Memory and Buses
- IBM and Oracle
- Intel and AMD ✓ Correct answer
- Canonical and Red Hat
- HP and Dell
-
RISC processors are designed for specific tasks and are often used in:
Topic: Server Hardware: CPU, Memory and Buses
- Home desktops
- High-performance servers ✓ Correct answer
- Laptops
- Mobile phones
-
Compared with Pentium/Core CPUs, Intel Xeon processors generally offer:
Topic: Server Hardware: CPU, Memory and Buses
- Fewer cores and smaller caches
- More cores, better hyper-threading and faster/larger caches ✓ Correct answer
- No hyper-threading
- Lower RAM support
-
With PAE, x86 architecture supports up to ______ of memory.
Topic: Server Hardware: CPU, Memory and Buses
- 4 GB
- 32 GB
- 64 GB ✓ Correct answer
- 1 PB
-
SODIMM memory modules are typically used with:
Topic: Server Hardware: CPU, Memory and Buses
- Rack servers
- Laptops ✓ Correct answer
- Mainframes
- Routers
-
Cache memory is high-speed memory placed between:
Topic: Server Hardware: CPU, Memory and Buses
- The hard disk and RAM
- RAM and the CPU ✓ Correct answer
- The CPU and the power supply
- Two network interfaces
-
The 16-bit version of the ISA bus is also known as the:
Topic: Server Hardware: CPU, Memory and Buses
- AT bus ✓ Correct answer
- PCI bus
- VL-Bus
- MCA bus
-
A desktop PCI bus is typically:
Topic: Server Hardware: CPU, Memory and Buses
- 64-bit at 66 MHz
- 32-bit at 33 MHz, giving 133 MB/s ✓ Correct answer
- Serial at 16 GB/s
- 8-bit at 4.77 MHz
-
PCI Express (PCIe) uses which type of architecture?
Topic: Server Hardware: CPU, Memory and Buses
- Parallel
- Serial ✓ Correct answer
- Ring
- Mesh
-
Pedestal servers based on Server System Infrastructure (SSI) form factors generally use which power supply?
Topic: Server Hardware: CPU, Memory and Buses
- ATX
- EPS12V ✓ Correct answer
- ATX1U
- Micro ATX
-
Which of the following is NOT one of the four storage solutions discussed for servers?
Topic: Storage and RAID
- Direct-attached storage (DAS)
- Network-attached storage (NAS)
- USB flash storage ✓ Correct answer
- Storage area network (SAN)
-
Direct-attached storage (DAS) devices are connected to the server with:
Topic: Storage and RAID
- Only Ethernet cables
- SAS, SATA or PCIe ✓ Correct answer
- Only fibre channel
- Only USB
-
Which of the following is a standard rotational speed of server hard disks?
Topic: Storage and RAID
- 5,400 RPM
- 7,200 RPM ✓ Correct answer
- 20,000 RPM
- 1,000 RPM
-
NVMe storage devices connect to the system over:
Topic: Storage and RAID
- The ISA bus
- The PCIe bus ✓ Correct answer
- A parallel port
- The USB 1.0 bus
-
The maximum speed of Gen 3 PCIe (as used by NVMe storage) is:
Topic: Storage and RAID
- 1.5 GB/s
- 3.5 GB/s ✓ Correct answer
- 7 GB/s
- 16 GB/s
-
The maximum speed of Gen 4 PCIe is:
Topic: Storage and RAID
- 3.5 GB/s
- 5 GB/s
- 7 GB/s ✓ Correct answer
- 12 GB/s
-
SSDs are faster than hard drives primarily because they:
Topic: Storage and RAID
- Have higher RPM
- Use NAND flash memory and do not have to seek data on a disk ✓ Correct answer
- Are always connected by SAS 24
- Have unlimited writes
-
RAID stands for:
Topic: Storage and RAID
- Redundant Array of Independent Disks ✓ Correct answer
- Rapid Access to Internal Drives
- Remote Array of Internet Disks
- Redundant Access and Information Distribution
-
Which RAID level provides striping but no redundancy?
Topic: Storage and RAID
- RAID 1
- RAID 5
- RAID 0 ✓ Correct answer
- RAID 6
-
RAID 1 works by:
Topic: Storage and RAID
- Striping data across all disks
- Mirroring the same data on two disks ✓ Correct answer
- Storing parity on a dedicated disk
- Compressing data on one disk
-
RAID 10 is a combination of:
Topic: Storage and RAID
- RAID 5 and RAID 0
- RAID 1 and RAID 0 ✓ Correct answer
- RAID 6 and RAID 1
- RAID 0 and RAID 0
-
Cloud storage has the disadvantage that it:
Topic: Storage and RAID
- Cannot be accessed from multiple locations
- Requires an Internet connection ✓ Correct answer
- Does not support backups
- Is always free of cost
-
Most IT rack equipment is nominally ______ wide, following the EIA-310-E standard.
Topic: Racks, Server Architectures and Remote Management
- 17 inches
- 19 inches ✓ Correct answer
- 21 inches
- 23 inches
-
One rack unit (1U) is equal to:
Topic: Racks, Server Architectures and Remote Management
- 1 inch
- 1.75 inches ✓ Correct answer
- 2 inches
- 3.5 inches
-
In the 'all in one' (all eggs in one basket) server approach:
Topic: Racks, Server Architectures and Remote Management
- Each service runs on its own machine
- One machine is used for many purposes ✓ Correct answer
- Machines are rented from a cloud provider
- Many machines are placed in one chassis
-
In the snowflake server approach:
Topic: Racks, Server Architectures and Remote Management
- All machines are identical clones
- Many machines are used, each uniquely configured ✓ Correct answer
- One large machine is partitioned into virtual machines
- Servers are purpose-built appliances
-
Blade servers use a hardware architecture that:
Topic: Racks, Server Architectures and Remote Management
- Places many machines in one chassis ✓ Correct answer
- Connects machines in a ring
- Stores data in the cloud
- Uses only RISC processors
-
In the 'buy in bulk, allocate fractions' approach, large machines are partitioned into smaller virtual machines using:
Topic: Racks, Server Architectures and Remote Management
- RAID or SAN
- Virtualization or containers ✓ Correct answer
- Bridging or switching
- Backups or archives
-
A hot-swap component is one that can be:
Topic: Racks, Server Architectures and Remote Management
- Replaced only after shutdown
- Added, removed or replaced while the system is running ✓ Correct answer
- Used only in laptops
- Shared between two servers
-
In server reliability, redundancy levels are expressed in the form:
Topic: Racks, Server Architectures and Remote Management
- A, B, C
- N+0, N+1, ..., N+r ✓ Correct answer
- 1U, 2U, 3U
- X, Y, Z
-
An out-of-band (OOB) management interface should be isolated on a dedicated protected network because it is equivalent to:
Topic: Racks, Server Architectures and Remote Management
- A guest user account
- Physical access to the machine ✓ Correct answer
- A read-only log file
- A backup interface
-
In remote server management, iLO stands for:
Topic: Racks, Server Architectures and Remote Management
- Internet Link Online
- Integrated Lights-Out ✓ Correct answer
- Internal LAN Operations
- Intelligent Load Optimizer
-
A switched power distribution unit (PDU) provides which remote management capability?
Topic: Racks, Server Architectures and Remote Management
- Remote console access
- Remote power cycling ✓ Correct answer
- Remote file transfer
- Remote user management
-
A network is a set of devices (nodes) connected by:
Topic: Networks and Topologies
- Power cables
- Communication links ✓ Correct answer
- A single server
- Operating systems
-
In a ring topology, the devices are connected:
Topic: Networks and Topologies
- To a single central hub only
- In a closed loop, each device connected to its two neighbours ✓ Correct answer
- Directly to every other device
- Along one long backbone cable only
-
In a mesh topology, devices are connected:
Topic: Networks and Topologies
- In a circle
- With point-to-point links to other devices, often to many or all others ✓ Correct answer
- Only through a central switch
- In a tree structure
-
Which category of network typically covers a city area?
Topic: Networks and Topologies
- LAN
- MAN ✓ Correct answer
- WAN
- WLAN
-
A protocol defines the syntax, semantics and ______ of data communication.
Topic: Networks and Topologies
- Hardware
- Timing ✓ Correct answer
- Cost
- Security
-
Standards that are adopted by fact, without formal approval by a standards organization, are called:
Topic: Networks and Topologies
- De jure standards
- De facto standards ✓ Correct answer
- Open standards
- Proprietary standards