Filters
Question type

Study Flashcards

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.

E) All of the above
F) A) and C)

Correct Answer

verifed

verified

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

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Match the scripting term to the description.

Premises
9
#Start
"sample text"
$X
%TEMP%
1424
Loop
"Press any key"
Responses
Variable
Windows environment variable
PowerShell comment
Executes the same commands until a condition is met
String
Integer

Correct Answer

9
#Start
"sample text"
$X
%TEMP%
1424
Loop
"Press any key"

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

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

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

F) B) and E)
G) A) and C)

Correct Answer

verifed

verified

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.

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

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

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

C

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.

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

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

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

Match the script file extension to the description.

Premises
.js
.vbs
.py
.sh
.bat
.ps1
Responses
Unix or Linux shell script file
VBScript file
Windows batch file
Windows PowerShell script file
JavaScript file
Python script file

Correct Answer

.js
.vbs
.py
.sh
.bat
.ps1

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.

E) All of the above
F) None of the above

Correct Answer

verifed

verified

Which of the following is the current Linux file system used to hold the operating system?


A) APFS
B) ext3 ​
C) NTFS
D) ext4 ​

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

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

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

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

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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

E) All of the above
F) None of the above

Correct Answer

verifed

verified

In Linux, where are the commands required for system administration stored?


A) /bin
B) /usr
C) /opt
D) /sbin

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

D

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

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

C

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

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

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

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Showing 1 - 20 of 24

Related Exams

Show Answer