Posts Tagged ‘70 680 Transcender’

MCITP Certification, Creating Zones for Web Applications

January 17th, 2012    by Austin

Creating Zones for Web Applications

Use the procedure outlined in the section create a new zone. A new zone is created when you extend an existing Web application. MCITP Certification

FIGURE 7.7 The Create External Resource Mapping page.
image001

Creating Quota Templates
As users get used to using your WSS site, they will naturally start storing more and more data on it. This can be a blessing because you are management tool. However, caution is needed because a database can grow out of control. Quota templates are a solution to this problem. With these templates, you can add storage limits on a site collection. This feature can trigger an email alert to your administrators when this size limit is reached.

You can apply these quotas to any site collection in a server farm. The quota will apply to the top-level site and all other sites under it.
To create a new quota template, follow these steps:
1. Open the Central Administration site by clicking Start All Programs Administra- tive Tools and clicking SharePoint 3.0 Central Administration.
2. Click Application Management.
3. Under the SharePoint Site Management section, choose Quota Templates (Figure 7.8).

Configuring Windows SharePoint Services (WSS) Sites

FIGURE 7.8 Creating a quota template
image003

4. Choose Create a New Quota Template in the Template Name section. (From this sec- tion, you can also choose to edit an existing template or delete an existing template).
You can create this template using an existing quota template or just choose a new blank one. Name the new template.
5. In the Storage Limit Values section, set the limits for data storage and the threshold for sending an alert email.
6. Click OK.

Creating Site Collections
When you create a new site collection, you are also creating a top-level website for WSS. You will have the option to choose several templates for the site, such as templates for doc- ument libraries, help desk, knowledge bases, room and equipment reservations, team sites, wikis, and blogs.
To create a new site collection, you will need to navigate to the Application Management
page, which can be done by choosing Start All Programs Administrative Tools and
clicking SharePoint 3.0 Central Administration. Then, follow these steps:
1. Click Application Management, and in the SharePoint Site Management section, click Create Site Collection. The Create Site Collection page is shown in Figure 7.9.

FIGURE 7.9 Creating a new site
image005

2. Make sure the web application is selected in the Web Application drop-down box.
3. Give the collection a title and description, and then add a URL in the URL box.
4. Choose a template in the Template Selection section.
5. Next, add a primary and secondary site administrators.
6. Select a quota template.
7. Click OK.

70 680 Test King, 70 680 Tips

January 14th, 2012    by Austin

QUESTION NO: 66

You add a table to the database to track changes to part names. The table stores the following row values: the username of the user who made the change a part ID the new part name a DateTime value

You need to enable detection of unauthorized changes to the row values. You also need to ensure that database users can view the original row values.

What should you do?

68

A. Add a column named signature. Use System.Security.Cryptography.RSA to create a signature for all of the row values. Store the signature in the signature column. Publish only the public key internally.

B. Add a column named hash. Use System.Security.Cryptography.MD5 to create an MD5 hash of the row values, and store the hash in the hash column.

C. Use System.Security.Cryptography.DES to encrypt all the row values using an encryption key held by the application.

D. Use System.Security.Cryptography.RSA to encrypt all the row values. Publish only the public key internally.

Answer: A
Explanation:

QUESTION NO: 67

You need to ensure that an exception is thrown when color names are set to less than two characters.

What should you do?

A. Add the following method to the Color partial class in Model\Color.cs: protected override void OnPropertyChanged(string property)

if (property == "Name" && this.Name.Length < 2)
throw new ArgumentOutOfRangeException("Name must be at least two characters");

B. Add the following attribute to the Name property of the Color class in the entity designer file: [StringLength(256, MinimumLength = 2)]

C. Add the following code segment to the ContosoEntities partial class in Model\ContosoEntities.cs:
public override int SaveChanges(System.Data.Objects.SaveOptions options)

if (change.Entity is Color)
if (((Color)change.Entity).Name.Length < 2) throw new ArgumentException("Name too short");

return base.SaveChanges(options);

D. Add the following method to the Color partial class in Model\Color.cs: protected override void OnPropertyChanging(string property)

69

if (property == "Name" && this.Name.Length < 2)
throw new ArgumentOutOfRangeException("Name must be at least two characters");

Answer: C
Explanation:

QUESTION NO: 68

Refer to the following lines in the case study: PA40 in \Model\Part.cs, PR16 in \Model\Product.cs, and CT14 in \Model\Component.cs.

The application must create XML files that detail the part structure for any product. The XML files must use the following format:

You need to update the application to support the creation of an XElement object having a structure that will serialize to the format shown above.

What should you do? (Each correct answer presents part of the solution. Choose two.)

A. return new XElement("component", new XAttribute("name", this.Name),
new XAttribute("description", this.Description),

70

new XAttribute("partType", this.PartType));
Insert the following code segment at line CT14 in \Model\Component.cs:

B. return new XElement("component", new XAttribute("name", this.Name), new XElement("description", this.Description),
new XElement("partType", this.PartType));
Insert the following code segment at line CT14 in \Model\Component.cs:

C. return new XElement("component", new XElement("name", this.Name), new XElement("description", this.Description),
new XElement("partType", this.PartType));
Insert the following code segment at line PR16 in \Model\Product.cs:

D. return new XElement("product", new XAttribute("name", this.Name),
new XAttribute("description", this.Description),
new XAttribute("productType", this.ProductType));
Insert the following code segment at line PR16 in \Model\Product.cs:

E. return new XElement("product", new XAttribute("name", this.Name),
new XElement("description", this.Description),
new XElement("productType", this.ProductType));
Insert the following code segment at line PR16 in \Model\Product.cs:

F. return new XElement("product", new XElement("name", this.Name),
new XElement("description", this.Description),
new XElement("productType", this.ProductType));

Answer: A,D
Explanation: