Deck 10: Macos, Linux, and Scripting
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
Question
Question
Match between columns
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
Play
Full screen (f)
Deck 10: Macos, Linux, and Scripting
1
A system administrator is selecting an operating system for use by the company's research and development team. The team requires an OS that can be easily modified and changed to meet its particular requirements.
Which of the following operating systems will be the best choice for the users?
A) Windows 10 Enterprise
B) Mac OS X
C) Linux
D) Windows 7 Professional
Which of the following operating systems will be the best choice for the users?
A) Windows 10 Enterprise
B) Mac OS X
C) Linux
D) Windows 7 Professional
C
2
A technician is logged in to a Linux computer as johnd and needs to reset group ownership for the file report.txt in the johnd home directory.
Which of the following commands will perform this function?
A) cd
B) ps
C) chown
D) clear
Which of the following commands will perform this function?
A) cd
B) ps
C) chown
D) clear
C
3
In Linux, where are the commands required for system administration stored?
A) /bin
B) /usr
C) /opt
D) /sbin
A) /bin
B) /usr
C) /opt
D) /sbin
D
4
A user is complaining about sluggish performance on her Linux system, and the technician suspects a running process is consuming excessive processor resources.
Which of the following commands will the technician most likely use to locate the offending process?
A) dd
B) kill
C) ps
D) vi
Which of the following commands will the technician most likely use to locate the offending process?
A) dd
B) kill
C) ps
D) vi
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
5
A Mac computer is reporting problems with the HDD, and the user wants to run a check for errors.
Which of the following is a disk management tool built into macOS that is useful for finding and repairing disk problems?
A) macOS Recovery
B) First Aid
C) Time Machine
D) grep
Which of the following is a disk management tool built into macOS that is useful for finding and repairing disk problems?
A) macOS Recovery
B) First Aid
C) Time Machine
D) grep
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following describes the macOS feature that lets you use finger motions to perform functions, for example, spreading two fingers to zoom in?
A) Gestures
B) Snapshots
C) Spotlight
D) Finder
A) Gestures
B) Snapshots
C) Spotlight
D) Finder
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
7
A technician is logged in to a Linux system with a user account that has been assigned root privileges. Each time the technician attempts to run a specific terminal command, a "Permission denied" message is displayed.
What is the most likely reason for this message?
A) The software repository is out of date and needs to be updated.
B) The command syntax needs to be verified.
C) The user account is not assigned a password.
D) The command needs to be preceded by sudo.
What is the most likely reason for this message?
A) The software repository is out of date and needs to be updated.
B) The command syntax needs to be verified.
C) The user account is not assigned a password.
D) The command needs to be preceded by sudo.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
8
What is the term used to designate that a particular operating system will no longer be supported by its manufacturer or managing entity?
A) Distro
B) End-of-life
C) Force Quit
D) Forced kill
A) Distro
B) End-of-life
C) Force Quit
D) Forced kill
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following are natively supported by the Windows, Mac, and Linux operating systems?
A) Support for reading and writing to APFS volumes
B) Support for reading and writing to NTFS partitions
C) Support for reading and writing to ext4 volumes
D) Support for reading and writing to FAT32 partitions
A) Support for reading and writing to APFS volumes
B) Support for reading and writing to NTFS partitions
C) Support for reading and writing to ext4 volumes
D) Support for reading and writing to FAT32 partitions
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
10
A Linux user needs to find all instances of the word admin in /var/log/auth.log.
Which of the following commands will perform this function?
A) grep
B) ls
C) rm
D) cp
E) apt-get
Which of the following commands will perform this function?
A) grep
B) ls
C) rm
D) cp
E) apt-get
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is a major advantage to using SSH over Telnet for remotely accessing a Linux system?
A) Telnet does not have a common TCP port assignment, SSH does.
B) SSH uses much less bandwidth to perform the same functions as Telnet.
C) SSH is a secure, encrypted alternative to Telnet.
D) Telnet is not available for use by Linux systems.
A) Telnet does not have a common TCP port assignment, SSH does.
B) SSH uses much less bandwidth to perform the same functions as Telnet.
C) SSH is a secure, encrypted alternative to Telnet.
D) Telnet is not available for use by Linux systems.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following best describes a variable when implemented in a script?
A) A portion of a script that executes multiple times until a condition is met.
B) A container for storing data values that can be assigned, referenced, and manipulated.
C) A line or portion of a script that the interpreter does not process.
D) The part of a filename used to designate a file's association with a particular script language.
A) A portion of a script that executes multiple times until a condition is met.
B) A container for storing data values that can be assigned, referenced, and manipulated.
C) A line or portion of a script that the interpreter does not process.
D) The part of a filename used to designate a file's association with a particular script language.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
13
A technician needs to boot macOS over the network using an image stored on a server.
What Apple technology will best assist the technician?
A) Swap partition
B) NetBoot
C) HFS+
D) Key Chain
What Apple technology will best assist the technician?
A) Swap partition
B) NetBoot
C) HFS+
D) Key Chain
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
14
A technician wants to use a Time Machine backup to install a new copy of the macOS onto a Mac.
Which of the following tools will the technician use to perform this task?
A) Disk Utility
B) Boot Camp
C) macOS Recovery
D) Mission Control
Which of the following tools will the technician use to perform this task?
A) Disk Utility
B) Boot Camp
C) macOS Recovery
D) Mission Control
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
15
How can you eliminate the need to open a dedicated TCP port on your corporate firewall when using Mac computers to share screens from the local and remote computers?
A) Use a third-party remote access app that uses a browser.
B) Enable Remote Disc on both computers.
C) Disable encryption on both ends of the Screen Sharing session.
D) Enable the Screen Sharing service in the Sharing window.
A) Use a third-party remote access app that uses a browser.
B) Enable Remote Disc on both computers.
C) Disable encryption on both ends of the Screen Sharing session.
D) Enable the Screen Sharing service in the Sharing window.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
16
A Mac user wants to update macOS and is searching Apple.com to locate update files.
How are macOS updates typically obtained?
A) Updates are found in the App Store.
B) macOS does not require or utilize updates.
C) Updates are downloaded through Time Machine.
D) A manual update of macOS is not possible.
How are macOS updates typically obtained?
A) Updates are found in the App Store.
B) macOS does not require or utilize updates.
C) Updates are downloaded through Time Machine.
D) A manual update of macOS is not possible.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is the current Linux file system used to hold the operating system?
A) APFS
B) ext3
C) NTFS
D) ext4
A) APFS
B) ext3
C) NTFS
D) ext4
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
18
You opened a batch file in Notepad and are observing the following lines. (The line numbers are for reference only.)
1-ECHO This batch file deletes the temp files
2- DEL %TEMP%\*.* /Q
3-REM The temp files were deleted
4-PAUSE
Which of the lines is a comment?
A) Line 1
B) Line 2
C) Line 3
D) Line 4
E) There are no comments in this file.
1-ECHO This batch file deletes the temp files
2- DEL %TEMP%\*.* /Q
3-REM The temp files were deleted
4-PAUSE
Which of the lines is a comment?
A) Line 1
B) Line 2
C) Line 3
D) Line 4
E) There are no comments in this file.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
19
What is the value of X and what is the condition of the Do…Loop when execution ends in the following pseudo code?
X = 1
Do
' This is a comment
Print X;
Loop
A) X = 1, the Do…Loop is endless.
B) X = 1, the Do…Loop is not endless.
C) X = 0, the Do…Loop is endless.
D) X = 0, the Do…Loop is not endless.
X = 1
Do
' This is a comment
Print X;
Loop
A) X = 1, the Do…Loop is endless.
B) X = 1, the Do…Loop is not endless.
C) X = 0, the Do…Loop is endless.
D) X = 0, the Do…Loop is not endless.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
20
What is the value of X when execution ends in the following pseudocode?
Set X As Integer
For X = 100 to 0 Step -1
' This is a comment
Next X
X = 100
A) 0
B) 100
C) 1
D) -1
Set X As Integer
For X = 100 to 0 Step -1
' This is a comment
Next X
X = 100
A) 0
B) 100
C) 1
D) -1
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
21
Match between columns
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following are closed source, proprietary operating systems? (Select TWO.)
A) Mac OS X High Sierra
B) openSUSE Linux
C) Ubuntu Linux
D) Windows 10 Home
A) Mac OS X High Sierra
B) openSUSE Linux
C) Ubuntu Linux
D) Windows 10 Home
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
23
Match between columns
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
24
A bootable Linux USB flash drive or CD that can be used to repair system issues is known by what term, respectively?
A) Live USB or CD
B) Repair USB or CD
C) Boot USB or CD
D) Supplemental OS
A) Live USB or CD
B) Repair USB or CD
C) Boot USB or CD
D) Supplemental OS
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck