Chapter 11 (File Management)

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

You need to install a 32-bit application on a 32 bit version of Windows 10. in which default directory will the application be installed?

%systemdrive%\Program Files

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)

Which of the following files extension types can be run from the command prompt?

.com .bat .exe

Which of the following file extensions indicates a Windows system file?

.dll .vxd

Which of the following extensions identifies a program packaged for use by Windows Installer?

.msi

Which option used with the copy command makes sure that all copied files are written correctly after they have been copied?

/v

You need to copy several hundred files from one directory to another. Most of the files exist in the target directory, but you want to overwrite the existing files with the ones you will copy. You want the file copy to proceed automatically without prompting you to overwrite existing files. Which copy command switch should you use?

/y

Which of the following are true of Libraries?

A single folder can be added to multiple Libraries Each library can contain multiple folders from different file system locations

What does the following command do? attrib +s +r -a myfile.dll

Adds the System file attribute, adds the Read-only attribute, and removes the Archive attribute to the file myfile.dll

You manage two folders in your computer as follows: • C:\Confidential • D:\PublicReports Both the C:\ and D:\ drives are formatted with the NTFS file System. In the C:\Confidential folder, you edit the properties for thc following two files and assign thc Dcny Read permission to the Users group: • Reports.doc • Costs.doc The D:\ drive allows the Full Control permission to the Users group. There are no other permissions assigned except for the default permissions. You then take the following actions: • Move Reports.doc from C:\Confidential to D:\PublicReports. • Copy Costs.doc from C:\Confidential to D:\PublicReports. What permissions do members of the Users group have to these two files in the D:\PublicReports folder?

Allow Full Control to both

Your computer has a single NTFS partition used for the C: drive with the following folders: • C:\Confidential • C:\PublicReports You configure NTFS permissions on the C:\Confidential folder and deny the Read permission to the Users group. For the C:\PublicReports folder, you allow Full Control permission to the Users group. You have not configured any other permissions other than the defaults on any other folders or files. You take the following actions: • Move Reports.doc from C:\Confidential to C:\PublicReports. • Copy Costs.doc from C:\Confidential to C:\PublicReports. What permissions do members of the Users group have to these two files in the C:\PublicReports folder?

Allow Full Control to both

What file attribute identifies the file as having been modified since the last backup?

Archive

Bob is a member of the Accounting group. The Accounting group has been granted the Read and Write NTFS permissions to the WeeklyReport.xls file. Bob is attempting to access the report through a share with the Fill Control permission assigned to the Everyone group. Which of the following statements correctly describes Bob's ability to access the WeeklyReport.xls file?

Bob can open, read, and write changes to the file.

Which of the following statements are true regarding administrative shares?

By default, Windows automatically creates an administrative share for every volume. To connect to an administrative share, you must use the UNC path.

Where system root is the C: drive, which is the path to the directories that hold user profiles in Windows 10?

C:\Users\username

You need to see the temporary files on a machine running Windows 7. Which directory holds the user temporary files, and which environment variable stores the temporary directory path?

C:\Users\username\AppData\Local\Temp %tmp%

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

The D:\ drive in your computer has been formatted with NTFS. The Mary user account has been assigned the following permissions: -Allow Full Control to the D:\Reports folder -Deny Full Control to the D:\Sales folder -Deny Full Control to the D:\Reports\2010.doc file -Allow Full Control to the D:\Sales\2010sales.doc file What effective permissions does Mary have to both files?

Deny Full Control to D:\Reports\2010reports.doc; Allow Full Control to D:\Sales\2010sales.doc

Your computer has a single NTFS partition used for the C: drive with the following folders: • C:\Confidential • C:\PublicReports In the C:\Confidential folder, you edit the properties for the following two files and assign the Deny Read permission to the Users group: • Reports.doc • Costs.doc The C:\PublicReports folder allows the Full Control permission to the Users group. There are no other permissions assigned except for the default permissions. You then take the following actions: • Move Reports.doc from C:\Confidential to C:\PublicReports. • Copy Costs.doc from C:\Confidential to C:\PublicReports. What permissions do members of the Users group have to these two files in the C:\PublicReports folder?

Deny Read to Reports.doc; Allow Full Control to Costs.doc

The D:\ drive in your computer has been formatted with NTFS. The Sales group on your computer has been given Allow Full Control to the D:\Sales folder. The Mary user account is a member of the Sales group. How can you prevent Mary from accessing the D:\Sales\2010sales.doc file without affecting her ability to access any other files in that folder and without affecting the abilities of the any other users?

Edit the properties for the file; assign Mary the Deny Full Control permission

Which tool in Windows 10 would you use to browse all networks and shared folders to which a user has access?

File Explorer This PC Network

If a folder exists on an NTFS partition, what permission is needed by a user who needs to set security permissions on the folder?

Full Control

You have created a custom library usng D:\Stats as the path to the libary. 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. What should you do?

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

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. Which of the following will most likely correct the problem?

Make Manuel the owner of the file

You have a folder on your Windows 7 computer that you would like to share with members of your development team. Users should be able to view and edit any file in the shared folder. You share the folder and give Everyone Full Control permission to the shared folder. Users connect to the shared folder and report that they can open the files, but they cannot modify any of the files. What should you do?

Modify the NTFS permissions on the folder.

Mary and Pablo share a workstation doing customer support. Mary works in the morning, and Pablo works in the evening. One day Mary is helping a customer with a support issue. Because her shift is over, she creates a Word document with details about the customer she is helping. She saves it to the C:\Customer folder on the computer. When Pablo comes in, he is unable to open the file. What should you do?

Modify the permissions on the document

You manage two folders in your computer as follows: • C:\Confidential • D:\PublicReports The C:\ drive is formatted with the NTFS file System and the D:\ drive is formatted with FAT32. In the C:\Confidential folder, you edit the properties for the following two files and assign the Deny Read permission to the Users group: • Reports.doc • Costs.doc You then take the following actions: • Move Reports.doc from C:\Confidential to D:\PublicReports. • Copy Costs.doc from C:\Confidential to D:\PublicReports. What happens to the permissions far both files as they are created in the D:\PublicReports folder?

Permissions are removed from both files

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?

Place the files on an NTFS partition. Configure both share and NTFS permissions.

You've just opened a text file in the vi editor and you're in Command Mode by default. There is more than one way to get from Command Mode to Replace Mode. Which of the following key-press sequences will get you into Replace Mode?

Press Insert, then press Insert again. Press the 'i' key, then press Insert. Press the 's' key, then press Insert.

You have a file which you would like other users to see, but not modify. Which file attribute should you use?

R

Which of the following best describes the use of Libraries in Windows?

Special folders that group files and folders, possibly stored in both local or network locations into a single logical folder

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

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 set up an unauthorized account, 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 badmin logging into the system. Which command can you use to search through the auth.log for lines that contain the username you're looking for?

grep "badmin" /var/log/auth.log

Which commands can you use to create a new directory?

md mkdir

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?

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 confirm your suspicions?

net use

How can you see a list of valid commands 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 the root user and require you to enter the root password?

su -

Which command would you use to copy all files in a directory, including empty subdirdctories?

xcopy /e


Set pelajaran terkait

history of fashion industry test 2

View Set

Life Insurance FINAL Exam 2- Georgia

View Set

US Government Test Chapter 2,3,4

View Set

Chapter 25: Handling Collective Bargaining Issues

View Set

Working with Financial Statements

View Set