11 Practice Questions
You need to install a 32-bit on a 32-bit version of Windows 10. In which default directory will the application be installed?
%systemdrive%\Program Files (On a 32-bit operating system, all programs are installed in the Program Files directory (the Program Files (x86) directory doesn't exist)
You need to install a 32-bit application on a 64-bit version of Windows 7. Where is the default directory where the application will be installed?
%systemdrive%\Program Files (x86)
You need to see the temporary files on a machine running Windows 7. Which directory holds the user temporary files, and what environment variable stores the temporary directory path? (select two)
%temp% C:\Users\username\AppData\Local\Temp
Which of the following extensions identifies a program packaged for use by Windows Installer?
.msi
Which of the following file extensions indicates a Windows system file? (Select two)
.vxd .dll
Which option used with the copy command makes sure that all copied files are written correctly after they have been copied?
/v
Which of the following are true of libraries? (Select two)
A single folder can be added to multiple libraries Each library can contain multiple folders from different files system locations.
Which file attribute identifies the file as having been modified since the last backup?
Archive
Where system root is the C: drive, what is the path to the directories that hold user profiles in Windows 10?
C:\Users\username
Which file system path is the default location for system files in Windows 10?
C:\Windows
Where system root is the C: drive, where are fonts stored on a Windows 7 system?
C:\Windows\Fonts\
If a folder exists on an NTFS partition, which permissions is needed by a user who needs to set security permissions on the folder?
Full Control
You have crated a custom Library using D:\Stats as the path to the Library. You want the files in the D:\Reports folder to be available in the Library you created. The files should also still be accessible using the D:\Reports folder. Which of the following steps would BEST meet your requirements?
Include the D:\Reports folder in the Library.
You're using the vi editor to manage a text file on a Linux system. You want to type new text into the file; when you type you want the existing text that comes after the cursor to be pushed down? What mode do you need to be in to do this?
Insert Mode
While researching a fix to a system file issue, you find that using the ATTRIB command would resolve the issue you are experiencing. The instructions you found said to run the following command: Attrib +s +r -a myfile.dll Which of the following Best describe the function of this command?
It adds the System file attribute, adds the read only attribute, and removes the Archives attribute to the file myfile.dll.
Susan in accounting has left the company and been replaced by Manuel. You create a user account for Manuel on Susan's computer. Manuel calls you and says that he can't open a specific file on the computer.
Make Manuel the owner of the file.
You have a folder that you would like members of your development team to access. You want to restrict network and local access to only specific users. All other users must not be able to view or modify the files in the folder. What should you do? (select two)
Place the files on an NTFS partition Configure both share and NTFS permissions
You have a file which you would like other users to see, but not modify. Which file attribute should you use?
R (read only)
Which of the following best describe the use of Libraries in Windows?
Special folder that group files and folders, possibly stored in both local or network locations, into a single logical folder.
Which of the following statements are true regarding administrative shares? (select two)
To connect to an administrative share, you must use the UNC path. By default, Windows automatically crates an administrative share for every volume.
You want to use the Universal Naming Convention (UNC) format to access a shared folder called Pictures on a computer named Home1. Which format would you use?
\\Home1\Pictures
You are working at the command line and want to add the Read-only attribute to a file and remove the Hidden attribute. Which command would you use?
attrib +r -h (add the read only attrib and remove hidden attrib)
You need to see what kind of CPU is being used on a Linux system. The /proc directory contains a text file called cpuinfo that will give you the information you're looking for. Which of the following commands will display the entire contents of the cpuinfo text file on the screen?
cat /proc/cpuinfo
Which command would you use to change the current directory to the immediate parent directory?
cd . .
Which command will display a list of files and subdirectories in a directory?
dir
you find that someone has setup unauthorized accounts, with the username badmin, on the Linux server. You have disabled the account but you need to find out when and how this user has been gaining access to the system. The first step you decide to take is to inspect the contents of the var/log/auth.log file to find information related to the badmin logging into the system. Which command can you use to search through the auth.log for lines that contains the username you're looking for?
grep "badmin" /var/log/auth.log (grep command is used to inspect the contents of a file to find lines that contains the search term you specify)
Which commands can you use to crate a new directory? (select two)
mkdir md
You need to view the contents of /var/log/auth.log file to get information about the users that have been logging on to the system. The auth.log file is a plain text file so you decide to use the cat command to review the file. However, the display fills up with text for several pages and you can't see the entire file. What commands can you use to view the content of the auth.log file page by page? (Select two)
more /var/log/auth.log less /var/log/auth.log
A user has a problem accessing several shared folders on the network. After determining the issue is not from his computer's IP configuration, you suspect the shared folders are not currently connected. Which of the following commands will MOST likely confirm your suspicions?
net use
How can you see a list of valid command parameters for the net use command?
net use /?
Which command lets you delete subdirectories in addition to files in the current directory?
rd /s
Which command is used to copy entire folder structures between volumes or across a network while maintaining all NTFS file permissions and attributes?
robocopy
You are the administrator of a Linux server. Following best practices for system security and effective administration, you always login to the system with a standard non-root user account. You only elevate your privileges to root user level when you need to do an administrative task. What do you enter at the command prompt that will, by default, switch you to root users and require you to enter the root password?
su -
Which command would you use to copy all files and subdirectories in a directory, including empty subdirectories?
xcopy /e