Sunday, November 25, 2007

Operating Systems: File management cmds

You want to copy the contents of a fixed hard disk to a removable hard disk for backup.
Which command can copy all files, directories, and subdirectories to another disk all at once?

1. FDISK
2. SETUP
3. SCANDISK
4. >>XCOPY
5. COPY

Explanation : The COPY command copies all files in the current or specified directory to a target drive and/or directory. The XCOPY command copies all files in the current or specified directory, and all files and subdirectories below it, to a target drive and/or directory. The XCOPY command can be used to copy the entire contents of one drive onto another drive.
If you want to copy all files from C: drive to D: drive the command would be:
XCOPY C:\*.* D:\*.* /S

The FDISK utility can create or remove partitions and set the active partition on a hard disk.

The SETUP utility in DOS or Windows is used to install the operating system onto the active partition.

The SCANDISK.EXE utility is used to find and correct problems such as lost clusters (pieces of files that have been disassociated from the parent file) on a hard disk. It can also detect bad sectors on a disk, try to recover any data contained in bad sectors, and "lock out" the bad areas from future use.
Objective: Operating Systems

Components: Adding a second IDE drive

You have just installed a second hard disk drive into a system by adding it as the second drive on the existing IDE cable. When you restart and enter the BIOS configuration program, it can detect neither drive, even though you can hear that both drives are spinning.
What is the most likely cause of the problem?

1. You did not connect the power cable to the new drive
2. The new drive is defective.
3. >>You need to set one drive as the slave and the other as the master.
4. The IDE cable is defective

Explanation : If you add a second hard disk drive to an IDE cable and do not adjust the jumpers, the BIOS may be unable to detect either drive. If both drives are set as Master or both set as slave, neither will be detected. Since the original drive worked until you added the second drive, both being set as Master is the most likely cause of the problem. If you are using an 80-conductor cable for a UDMA/66 or faster interface, both drives can be set for Cable Select.

If the IDE cable were defective, the original drive would not have worked before the addition of the new drive unless you damaged the cable during the installation.

Not connecting the power cable to the new drive would not affect the old drive. Neither would adding a defective second drive.
Objective: Personal Computer Components

Security: Warning of "Brute Force Attacks"

How can you configure a system to provide a warning of an attempted brute force attack?

1. Enable Windows Firewall on each user's computer.
2. Install a firewall between the company network and the Internet.
3. >>Enable logging of failed login attempts.
4. Require strong passwords.

Explanation : A brute force attack (also called a dictionary attack) is one in which an attacker uses software that tries password combinations until the correct password is found. You can enable logging of failed login attempts to provide yourself with a warning that an attacker is attempting a brute force attack. A large number of failed login attempts indicate that such an attack is underway.

Requiring strong passwords can help prevent a brute force attack from succeeding, but it does not inform you that one is being attempted.

Installing a firewall between the company network and the Internet can help limit access to the company network from the outside, but it cannot give warning of an attempted brute force attack.

Enabling Windows Firewall on each user's computer can help prevent certain types of packets from being accepted by a user's computer and can help prevent various types of attacks. However, it cannot provide you with warning of an attempted brute force attack.
Objective: Security

Operating Systems: Hidden folders, Application Data folders

You need to install a Microsoft Word template for a Sally. However, when you open C:\Documents and Settings\Sally, the Application Data folder is not there.
What should you do?

1. In Folder Options, remove the check from the Hide protected operating system files option.
2. Install the template in C:\Documents and Settings\All Users\Application Data.
3. >>Install the template in C:\Documents and Settings\Default User\Application Data.
4. In Folder Options, select Show hidden files and folders.

Explanation : You should select Show hidden files and folders in Folder Options. By default, the Application Data folder is hidden, as are the Local Settings, PrintHood, NetHood, SendTo, and Templates folders.

You should not use Folder Options to remove the check from the Hide protected operating system files option. The Application Data folder is not an operating system file. You would remove the check from the Hide protected operating system files option if you needed to modify an operating system file, such as boot.ini, or view system files.

You should not install the template in C:\Documents and Settings\All Users\Application Data. The Application Data folder in All Users will not be visible if the Show hidden files and folders option is not selected.

You should not install the template in C:\Documents and Settings\Default User\Application Data. The Default User profile is used only when a user logs on for the first time. It is used as a basis for the user's custom profile. Also, the Application Data folder in Default User will not be visible if the Show hidden files and folders option is not selected.
Objective: Operating Systems

Laptops: Video Resolution

You provide the user with a laptop computer to enable the user to telecommute. The user reports that one application will not install because of the video resolution. The user attempts to increase the video resolution, but cannot. The user has the most up-to-date drivers installed.
What should you do?

1. Replace the inverter in the display.
2. >>Change the maximum resolution in CMOS setup.
3. Instruct the user to attach an external display to the laptop.
4. Configure the laptop to support shared video memory.

Explanation : You should instruct the user to attach an external display to the laptop. Some laptop computers have built-in displays that cannot operate at high resolution. However, you can attach an external monitor and use it for applications that require high resolution graphics.

There is no need to replace the inverter in the display. If the inverter was not working, the display would be black.

You cannot change the maximum resolution in Complimentary Metal-Oxide Semiconductor (CMOS) setup.

You should not configure the laptop to support shared video memory. Shared video memory uses a portion of RAM for video operations instead of dedicated video memory. Shared video memory can decrease performance, not increase the supported resolution.
Objective: Laptops and Portable Devices

Components: Slave hard drives

How can you designate a hard drive as a slave? (Select TWO.)
1. >>Connect the hard drive to the motherboard using the Slave connector portion of a Cable Select cable.
2. Designate it as Slave in the BIOS Setup.
3. Set the Master jumper to Off.
4. >>Set the dip switch on the hard drive to Slave instead of Master.

Explanation : When running a dual-drive configuration, you must designate one hard drive as master, and the other as slave. There are two ways to do this: set the Master jumper to Off, or connect the hard drive using the Slave connector portion of a Cable Select cable. Older drives use jumpers to set a hard drive as master or slave. The jumper will be On if the hard drive is the master, or Off if the hard drive is a slave.

Cable Select is a newer way to designate a hard drive as master or slave. A special IDE cable is used to connect the hard drives to the motherboard. There are two connectors on the cable: one for Master, and another for Slave. The Slave connection will not transmit data through pin 28, so only the master hard drive receives the signals sent across pin 28.

Dip switches are NOT used to designate hard drives as master or slave.

The BIOS Setup will determine which one is the master by how the jumpers or Cable Select is set. You cannot designate a hard drive as master or slave through the BIOS Setup.
Objective: Personal Computer Components

Networks and Laptops: Automatic Configuration vs profiles for telecommuters

A user telecommutes three days a week using a laptop computer. The user's Internet Service Provider at home requires a static IP address, subnet mask, and DNS server setting. The company network assigns addresses using DHCP.
You need to configure the user's computer so that the user can access the Internet when at home and the corporate network when at the office.
What should you do?

1. Create separate hardware profiles for the user at home and at work.
2. Create separate user profiles for the user at home and at work.
3. Enable automatic configuration. Add the ISP-defined settings to the Alternate Configuration tab.
4. >>Configure both IP configurations manually in Advanced TCP/IP settings.

Explanation : You should enable automatic configuration and add the ISP-defined settings to the Alternate Configuration tab. With this configuration, the computer first tries to find a DHCP server. If one cannot be found, the IP configuration on the Alternate Configuration tab is used.

You should not create separate user profiles for the user at home and at work. IP configuration settings are not defined in the user profile.

You should not create separate hardware profiles for the user at home and at work. The hardware profile limits the drivers that are loaded. It cannot be used to establish different IP configuration settings.

You should not configure both IP configurations manually in Advanced TCP/IP settings. Doing so would create a multi-homed network adapter, but the settings would not work correctly given the situation. Also, you want to be able to dynamically assign addresses when the user is connected to the company network, not manually assign the address.
Objective: Networks