Archive for the ‘MCTS Certification Training’ Category
MCTS Windows 7 Configuration, Configuring WDS Server Properties
February 6th, 2012 Comments OffConfiguring WDS Server Properties
Follow these steps to con
1. Choose Start Services.
2. In the left pane, expand Servers.
3. Right-click on the WDS server and choose Properties.

5. On the Boot tab, make any necessary changes to the boot program or add a default boot image.
EXERCISE 9.3 (continued)
6. On the Network Settings tab, determine what the multicast IP address will be or set it to be obtained from a DHCP server. Microsoft doesndefault IP address range (unless your network needs a different range). The UDP port range and network pro

7. If the WDS server is running DHCP, click on the DHCP tab, check the Do Not Listen on Port 67 and Con

8. Click OK to
Using Windows Deployment Services
375
Creating a Differencing Hard Disk
February 3rd, 2012 Comments OffCreating a Differencing Hard Disk
Follow these steps to create a differencing disk:
1. Click Start Administrative Tools Hyper-V Manager.
2. In Hyper-V Manager, on the Actions pane, click New Hard Disk.
3. In the New Virtual Hard Disk Wizard, click Next on the Before You Begin page.
4. On the Choose Disk Type page, select Differencing and click Next.
5. On the Specify Name and Location page, enter the new name of the child disk (for example, child-disk.vhd). You can also modify the default location of the new VHD
le if you want. Click Next to continue.

6. Next, on the Congure Disk page, you need to specify the parent VHD le. This will be the basis for your differencing disk. For example, a complete installation of Win- dows Server 2008 is a good parent. Click Next to continue.
332
Chapter 8 N Using Virtualization In Windows Server 2008
EXERCISE 8.3 (continued)
7. On the Completing the New Virtual Hard Disk Wizard page, verify that all settings are correct and click Finish to create the hard disk.
Exercise 8.4 will show you how to create a xed disk based on a local hard drive. Please remember that only xed size or dynamically expanding disks can be used to clone a local hard drive during creation.
EXERCISE 8.4
Creating a Fixed Size Disk and Cloning a Local Drive
Follow these steps to create a xed hard disk and migrate a physical disk to it:
1. Click Start Administrative Tools Hyper-V Manager.
2. In Hyper-V Manager, on the Actions pane, click New Hard Disk.
3. In the New Virtual Hard Disk Wizard, click Next on the Before You Begin page.
4. On the Choose Disk Type page, select Fixed Size and click Next.
5. On the Specify Name and Location page, enter the new name of the virtual hard disk (for example, clone.vhd). You can also modify the default location of the new VHD le
if you want. Click Next to continue.
Hyper-V Installation and Configuration
333
EXERCISE 8.4 (continued)
6. Next, on the Congure Disk page, you can decide if you want to create a blank vir- tual hard disk with a specied size or if you want to copy the contents of a hard disk to the virtual disk. For this exercise, select Copy the Contents of the Specied Physi- cal Disk and select a physical drive on which to copy to the virtual disk. Then click Next to continue.
7. On the Completing the New Virtual Hard Disk Wizard page, verify that all settings are correct and click Finish to create the virtual hard disk and start the copy process.
334
Chapter 8 N Using Virtualization In Windows Server 2008
Because the process to copy a physical drive to a virtual disk is just a normal copy process, you should allow enough time to complete it. The time varies depending on the size of your physical disk.
The process to add a physical or pass-through disk to a virtual machine is quite different. For this, you rst need to create the virtual machine, and then you open the Virtual Machine Settings to congure the physical disk. If you did not yet create a virtual machine in Hyper-V Manager, you should complete Exercise 8.6 to create one and come back to this section.
If you want to add a physical disk to a virtual machine, the physical disk must be set as Ofine in Disk Management, as shown in Figure 8.8.
MCTS Windows 7 Configuration, Supported Guest Operating Systems
January 31st, 2012 Comments OffSupported Guest Operating Systems
The following guest operating systems have been successfully tested on Hyper-V and are hypervisor aware:
_ N
_ N
_ N
_ N
_ N
_ N
_ N
_ N
Windows Server 2008 x86 (VM configured as 1-, 2-, or 4-way SMP) Windows Server 2008 x64 (VM configured as 1-, 2-, or 4-way SMP) Windows Server 2003 x86 (VMs configured as 1- or 2-way SMP only) Windows Server 2003 x64 (VMs configured as 1-way only)
Windows Vista x86 with Service Pack 1 (VMs configured as 1-way only) Windows XP x86 with Service Pack 3 (VMs configured as 1-way only) SUSE Linux Enterprise Server 10 with Service Pack 1 x86 Edition
SUSE Linux Enterprise Server 10 with Service Pack 1 x64 Edition
The list of supported guest operating systems might be extended once Hyper-V is released. Please check the official Microsoft Hyper-V site to
get an accurate list of supported operating systems: www.microsoft.com/
virtualization .
Hyper-V Architecture
This section will provide you with an overview of the Hyper-V architecture (see Figure 8.1). We�ll explain the differences between a hypervisor-aware and non-hypervisor-aware child partition.
Hyper-V Overview
317
FIGURE 8.1 Hyper-V architecture
Parent partition
Child partitions
Virtualization stack
WMI provider
VM service VM worker
process Applications Applications Applications
User mode
Windows Server
2008 Hypervisor-aware
OS (e.g., Windows
Server 2003, 2008) Xen-enabled Linux
kernel Non-hypervisor-
aware OS
Windows
kernel
Windows
kernel
VSP
Integration components
Linux Integration components
Kernel mode
VMBus
Hyper-V hypervisor Emulation
Hardware
As you can see, Hyper-V is based on the new microkernel architecture. Hyper-V provides a virtualization layer called a hypervisor that runs directly on the system hardware. You can see that the hypervisor is similar to what the kernel is to Windows. It is a software layer responsible for the interaction with the core hardware and works in conjunction with an optimized instance of Windows Server 2008 that allows running multiple operating systems on a physical server simultaneously. The Hyper-V architecture consists of the hypervisor and parent and child partitions.
The Windows Server 2008 operating system runs in the parent partition and provides the WMI provider for scripting as well as the VM service.
Virtual machines run each in their own child partitions. Child partitions do not have direct access to hardware resources; instead, they have a virtual view of the resources, which are called virtual devices.
If you�re running a hypervisor-aware operating system like Windows Server 2003 or Win- dows Server 2008 in your virtual machine, any request to the virtual devices is redirected via the high-speed Imbues to the devices in the parent partition, which will manage the requests. By default, only Windows Server 2008 is a hypervisor-aware operating system. Once you install the Hyper-V integration components on the operating system other than Windows Server 2008, it will be hypervisor aware. Microsoft provides a hypervisor adapter to make Linux hypervisor aware.
Non-hypervisor-aware operating systems (e.g., Windows NT 4.0) use an emulator to communicate with the Windows hypervisor, which is slower than using the Imbues. MCTS Windows 7 Configuration
318 Chapter 8 N Using Virtualization In Windows Server 2008
MCTS Windows 7 Configuration, Microsoft MCTS Training
January 30th, 2012 Comments OffMicrosoft 70-680 is a+ certification examination which is able to guide IT professionals in seeking a excessive platform to assist them acquire new expertise and knowledge. It showcases the flexibility of the candidate to outlive in a demanding atmosphere. MCTS Windows 7 Configuration
Microsoft 70-680 examination is a+ certification programme from Microsoft, where the candidates have to make use of a Windows 7 operating system to operate in a computing environment. It is obligatory for the candidates to possess at the very least one 12 months of experience in the area of IT. They need to have the ability to implement and administrate any Home windows shopper working system in a networked environment.
In an effort to pass the 70-680 exam, candidates ought to be capable to install, deploy and upgrade to Home windows 7 operating system, together with the hardware and software program capability. They need to have the power to watch and resolve performance and reliability issues. They need to have the aptitude to configure the system setting for pre-installation and publish-set up, cell computing, network connectivity applications which use Home windows 7 and Home windows security features. It is advisable to have a radical understanding of Home windows PowerShell syntax before trying the Microsoft 70-680 exam.
Tips to pass the Microsoft 70-680 exam:
?Rating: The utmost rating needed to crack the 70-680 is dependent upon the complexity of the abilities being measured. With the intention to be certified as an Enterprise Administrator, or Enterprise Desktop Administrator or Enterprise Desktop Support Technician you have to prime quality of expertise and working standards.
?Format: The 70-680 question paper is subjected to adjustments and can contain multiple alternative questions, lively screen questions, drag and drop questions, build list and reorder questions, case research and simulations. Being ready to reply any kind of query will enable you to in passing the Microsoft 70-680 exam. The length of exam is 135 minutes.
?Sources for preparation: It is important that you ought to be completely prepared before you attempt the 70-680 exam. Arms-on experience with Home windows 7 will probably be an added advantage. You'll be able to select from a variety of sources like practice exams, instructor-led coaching, self-paced training, distance studying, press books and self-paced training kits offered by Microsoft. You'll be able to even buy on-line study supplies like technotes, etc.
?Primary matter areas: You need to be well acquainted with the primary matters for a higher score. Each topic has its personal importance and weightage of marks. Deploying, installing or migrating to Windows, configuring hardware and software program functions and network connectivity are few of the excessive weightage matters which can allow you to enhance your score. Do concentrate on other topics additionally as every subject is essential to go the Microsoft 70-680 exam.
?Learning plans: Creating your individual learning plans will help you be prepared for the worst. Put together a flow chart of your research pattern and comply with it strictly. Monitor your progress and enhance your problem fixing ability. Take up new challenges and attempt to analyze them. It's worthwhile to take up follow tests which will help you in being ready for challenging problem.
Certification by Microsoft will aid you stand out from other IT professionals. It gives you the appropriate platform to showcase your expertise and the stamina you need to face a challenge. It acts as a stepping stone towards a career with enormous scope of possibilities. The advantages of Microsoft 70-680 include entry to an enormous global community of licensed professionals, who're keen to broaden their information and skills. 70-680 acts as a base for aspiring professionals who are ready to take up challenges and have the flexibility to adapt to the various setting by growing new skills.
MCTS Windows 7 Configuration: Adding Site Content
January 18th, 2012 Comments OffAdding Site Content
There are three main ways you can add content to your WSS sites:
Allow users to add content.
Use web designers to create content.
Migrate content from another site.
There are some things to consider when choosing what option you will use for adding site content:
Will the public see this content?
Is the site for a large organization?
Are you redesigning or reorganizing another site?
Will the site be a collaboration site, which might include wikis, blogs, or other user- created content?
Here are two of the more popular choices for adding content to a WSS site:
User-added content You can immediately allow users and site owners to add content to
the WSS sites by following the steps in the section “nabling Access For End Usersin this chapter.
The benefit of allowing user-added content is it involves users immediately, and they tend to want to add and update the content on a regular basis.
Migrate content You have a couple of options to migrate content from a different site.
One option is to use the Export and Import operations of the Stsadm tool. The other option is to use the Central Administration page to perform a migration.
Read more about the Stsadm tool and the Central Administration options for migrating content by visiting the Windows SharePoint Services 3.0 Techni-
cal Library at
http://technet.microsoft.com/en-us/library/cc288664.aspx.
Configuring Authentication for WSS
Authentication is the process of validating a userverifying the level of access they should have. WSS uses IIS to manage user authentication. After IIS has determined that the user is authentic, WSS will perform the authorization. WSS will then allow the user to access the resources on the WSS site to which they have been given access.
296 Chapter 7
WSS has provided support for federated authorization, also known as Web Single Sign On (Web SSO). This means that the authentication system is not local to the computer that hosts Windows SharePoint Services 3.0.
WSS provides for several other authentication scenarios:
Standard Windows authentication.
Simple database containing usernames and passwords.
Integrating directly into your company
Using several systems together. This would allow for a company identity system to
authenticate partner employees but another system to authenticate internal employees. Table 7.1 shows the supported authentication methods.
TABLE 7.1 Supported Authentication Methods
Authentication Methods Description Examples
Windows
These are standard IIS windows
authentication methods. Basic
Anonymous
Digest
Certificates
Kerberos (Integrated
Windows)
NTLM (Integrated
Windows)
ASP.NET formsWSS 3.0 adds support for identity management systems
by adding ASP.NET-based forms authentication.
Web Single Sign-On (SSO)Enables SSO in environments that are on disparate platforms.
LDAP (Lightweight Directory Access Protocol)
SQL Database or other databases
Other ASP.NET-based forms
ADFS (Active Directory Federation Services) Additional identity man- agement systems
The following sections will cover a couple of the con Digest authentication
Web Single Sign-On (Web SSO) using Active Directory Federation Services (ADFS)
MCTS Windows 7 Configuration Authentication for WSS
MCTS Windows 7 Configuration, Microsoft 70-680 Training
January 17th, 2012 Comments OffQUESTION NO: 1
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Microsoft ASP.NET application. You want to connect the application to a Microsoft SQL Server Express 2008 database named MyDatabase. The primary database file is named MyDatabase.mdf and it is stored in the App_Data folder. MCTS Windows 7 Configuration
You need to define the connection string.
Which connection string should you add to the Web.config file?
A. Data Source=localhost; Initial Catalog=MyDataBase; Integrated Security=SSPI; User Instance=True
B. Data Source=.\SQLEXPRESS; Initial Catalog=MyDataBase; Integrated Security=True; User Instance=True
C. Data Source=.\SQLEXPRESS; AttachDbFilename=|DataDirectory|\MyDatabase.mdf; Integrated Security=True; User Instance=True
D. Data Source=SQLEXPRESS; AttachDbFilename=|DataDirectory|\App_Data\MyDatabase.mdf; Integrated Security=SSPI; User Instance=True
Answer: C
Explanation:
QUESTION NO: 2
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. The application uses the ADO.NET Entity Framework to model entities.
The database includes objects based on the exhibit. (Click the Exhibit button.)

The application includes the following code segment. (Line numbers are included for reference
only.)
01 Using advWorksContext As New AdventureWorksEntities()
02
03 End Using
You need to retrieve a list of all Products from todays sales orders for a specified customer.
You also need to ensure that the application uses the minimum amount of memory when retrieving the list.
Which code segment should you insert at line 02?
A. Dim customer As Contact = context.Contact.Where("it.ContactID =
@customerId", New ObjectParameter("customerId", customerId)).First() customer.SalesOrderHeader.Load()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
order.SalesOrderDetail.Load()
If order.OrderDate.[Date] = DateTime.Today.[Date] Then
94
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next
B. Dim customer As Contact = context.Contact.Where("it.ContactID =
@customerId", New ObjectParameter("customerId", customerId)).First() customer.SalesOrderHeader.Load()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
If order.OrderDate = DateTime.Today Then
order.SalesOrderDetail.Load()
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next
C. Dim customer As Contact = (From contact In context.Contact.Include("SalesOrderHeader") _ Select contact).FirstOrDefault()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
order.SalesOrderDetail.Load()
If order.OrderDate = DateTime.Today Then
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next
D. Dim customer As Contact = (From contact In
context.Contact.Include("SalesOrderHeader.SalesOrderDetail") _
Select contact).FirstOrDefault()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
If order.OrderDate.[Date] = DateTime.Today.[Date] Then
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next
Answer: B
Explanation:
MCTS Windows 7 Configuration, 70 680 Test Questions
January 16th, 2012 Comments OffQUESTION NO: 1
You use Microsoft .NET Framework 4 to develop an application that connects to a Microsoft SQL Server 2008 database by using SQL Server authentication.
The application contains the following connection string.
SERVER=DBSERVER-01; DATABASE=pubs; uid=sa; pwd=secret;
You need to ensure that the password value in the connection string property of a SqlConnection object does not exist after the Open method is called.
What should you add to the connection string?
A. Persist Security Info=True
B. Trusted_Connection=True
C. Persist Security Info=False
D. Trusted_Connection=False
Answer: C
Explanation:
QUESTION NO: 2
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use the ADO.NET Entity Framework to model entities.
You write the following code segment. (Line numbers are included for reference only.)
01 Dim context As New AdventureWorksEntities("http://localhost:1234/AdventureWorks.svc") 02 03 Dim q As var = From c In context.Customers _
04 Where c.City ="London" _
05 Order By c.CompanyName _
06 Select c
92
You need to ensure that the application meets the following requirements:
- -
Compares the current values of unmodified properties with values returned from the data source Marks the property as modified when the properties are not the same MCTS Windows 7 Configuration
Which code segment should you insert at line 02?
A. context.MergeOption = MergeOption.AppendOnly
B. context.MergeOption = MergeOption.PreserveChanges
C. context.MergeOption = MergeOption.OverwriteChanges
D. context.MergeOption = MergeOption.NoTracking
Answer: B
Explanation:
70-680 Sybex, 70-680 Study
January 14th, 2012 Comments OffQUESTION NO: 69
The database contains orphaned Color records that are no longer connected to Part records.
You need to clean up the orphaned records. You have an existing ContosoEntities context object named context.
Which code segment should you use?
A. context.Colors.ToList().RemoveAll(c => !c.Parts.Any()); context.SaveChanges();
B. var unusedColors = context.Colors.Where(c => !c.Parts.Any()).ToList(); foreach (var unused in unusedColors) context.DeleteObject(unused); context.SaveChanges();
C. var unusedColors = context.Colors.Where(c => !c.Parts.Any());
context.DeleteObject(unusedColors); context.SaveChanges();
D. context.Colors.TakeWhile(c => !c.Parts.Any()); context.SaveChanges();
Answer: B
Explanation:
71
QUESTION NO: 70
The application must provide a component part list for any product. The component part list must give the quantity of each distinct part that is required to manufacture that product. You need to create a LINQ expression that delivers a result of type IEnumerable
A. IEnumerable < Tuple < int , Part>> result = part.Descendants
. GroupBy (p => p)
.Select(g => Tuple.Create ( g.Count (), g.Key ));
B. IEnumerable < Tuple < int , Part>> result = part.Descendants
. ToDictionary (c => c)
.Select(d => Tuple.Create ( d.Value.Children.Count (), d.Key ));
C. IEnumerable < Tuple < int , Part>> result = part.Children
. GroupBy (p => p)
.Select(g => Tuple.Create ( g.Count (), g.Key ));
D. IEnumerable < Tuple < int , Part>> result = part.Children
.Distinct()
. GroupBy (p => p)
.Select(g => Tuple.Create ( g.Count (), g.Key ));
E. IEnumerable < Tuple < int , Part>> result = part.Descendants
.Distinct()
. GroupBy (p => p) .Select(g => Tuple.Create ( g.Count (), g.Key ));
Answer: D
Explanation:
QUESTION NO: 71
You need to write a LINQ query that can be used against a ContosoEntities context object named context to find all parts that have a duplicate name. Which of the following queries should you use? (Each correct answer presents a complete solution. Choose two.)
A. context.Parts.Where(p => context.Parts.Any(q => q.Name == p.Name && p.Id != q.Id));
B. context.Parts.SelectMany(p => context.Parts .Select(q => p.Name == q.Name && p.Id != q.Id));
C. context.Parts .Any(p => context.Parts .Any(q => p.Name == q.Name));
D. context.Parts.GroupBy(p => p.Name) .Where(g => g.Count() > 1) .SelectMany(x => x);
Answer: A,B
Explanation:
MCTS Windows 7 Configuration, Using the Best Practices Analyzer Tool
January 13th, 2012 Comments OffUsing the Best Practices Analyzer Tool
The Best Practices Analyzer tool is used to check for common problems and to determine if your WSS installation contains the best security practices. The tool is also used to help you
To use the tool, download it and install on your server. After ityour site
that contains the Best Practice Analyzer. By default this is C:\BPA.
Now follow these steps:
1. Type sharepointbpa.exe -cmd analyze -substitutions SERVER_NAME
CentralAdministrationServer and press Enter.
Replace CentralAdministrationServer with the name of your server. You need to keep
SERVER_NAME in capital letters.
2. After the Best Practice Analyzer tool has finished analyzing your site, open share-
pointbpa.report.htm in a web browser to view the results. This file will be located in
the same location as the installation. The default is C:\BPA.
You can download the tool at the following link: http://go.microsoft.com/
fwlink/?LinkID=83335&clcid=0x409.
Configuring Windows SharePoint Services (WSS) Sites
283
Configuring Windows SharePoint Services (WSS) Sites
With the installation of your default WSS 3.0 site is complete, you are ready to start creating additional sites.
In the following sections, you will learn about these topics:
Upgrading from WSS 2.0 Careful planning and preparation is needed to successfully
upgrade a WSS 2.0 installation.
Create or extend web applications You must create applications before sites can be cre-
ated. You will learn how to create and extend Web applications.
Configure alternate access mapping This allows you to assign different URLs to the same
site.
Create zones for web applications A default zone is automatically created when you create
a web application. We will explain how to add additional zones.
Create quota templates With quota templates, you can control how large a site collection
can become. You will learn how to con
Create site collections We will show you how to create a site collection and assign the pri-
mary and secondary owners.
Enable access for end users After the creation of a site is completed, access will need to be
granted to your users.
Add site content After site collections are created, content can be added.
MCTS Windows 7 Configuration, MCTS Exam
January 13th, 2012 Comments OffQUESTION NO: 1
The application user interface displays part names or color names in many places as '## Name ##'.
You need to provide a method named FormattedName() to format part names and color names throughout the application. MCTS Windows 7 Configuration
What should you do?
A. Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs: public static string FormattedName (this Color entity)
0 ##", entity.Name);
B. Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs: public static string FormattedName (this Part entity)
0 ##", entity.Name);
C. Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs: public static string FormattedName (this IName entity)
0 ##", entity.Name);
D. Add the following code segment to the Part class in Part.cs:
public string FormattedName()
0 ##", this.Name);
E. Add the following code segment to the Color class in Color.cs:
public string FormattedName()
0 ##", this.Name);
Answer: E
Explanation:
QUESTION NO: 2
You are developing a new feature in the application to display a list of all bundled products. You need to write a LINQ query that will return a list of all bundled products. MCTS Exam
Which query expression should you use?
A. context.Parts
.OfType
()
.ToList()
.Where(p => p.Descendants.Any(d => d is Product))
B. context.Parts
.Cast
()
.Where(p => p.Descendants.Any(d => d is Product))
C. context.Parts
.OfType
()
.Where(p => p.Descendants.Any(d => d is Product))
D. context.Parts
.Cast
()
.ToList()
.Where(p => p.Descendants.Any(d => d is Product))
Answer: A
Explanation:










