PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you recommend?

You create Web-based client applications. You deploy an application on the company extranet. The sales team requires notification when an order total exceeds the companys approval levels.

The application requires you to send an e-mail to the sales manager to receive approval for any order over $100,000. You must meet the following constraints to achieve this requirement:

Modifications can be done only to the Web.config file
Limited programmer resources
System can be configured as needed at multiple sites

The design team plans to use the SimpleMailWebEventProvider class of the health monitoring APIs to send the e-mail. You need to evaluate whether the design meets the requirement. What should you recommend?

What should you conclude?

You create Web-based client applications. You deploy an application on your company extranet. The application uses an ASP.NET 2.0 Membership system. The support team requires that changes in passwords be communicated to their Microsoft Windows Management Instrumentation (WMI) integrated system.

You propose the use of health monitoring APIs to perform the following actions:

Respond to password changes inside the application.
Call a custom event handler when a password change occurs. Report the changes to the support teams WMI system by using the custom event handler.

You need to examine whether the proposed solution meets the requirements. What should you conclude?

Which line of code should you add at 04?

You create an application that contains the following code:

01: Using site As New SPSite(“http://contoso.com”)
02: Dim sQuery As New KeywordQuery(site)
03: sQuery.QueryText = String.Format(“prop1:””open~0~”””,”value1″)
04:
05: sQuery.ResultType = ResultType.RelevantResults
06: Dim queryResults As QueryTableCollection = sQuery.Execute()
07: Dim queryResultsTable As ResultTable =
queryResults(ResultType.RelevantResults)
08: Dim queryDataTable As New DataTable()
09: queryDataTable.Load(queryResultsTable, LoadOption.OverwriteChanges)
10: End Using

The application performs a keyword query search on a managed property named Prop1 with a value of Value1. You need to ensure that the search result returns a managed property named Prop2.

Which line of code should you add at 04?

What should you recommend?

You create Web-based client applications.

You are designing a database that must meet the following requirements:

Store data about people in the People table and data about the companies they work for in the Companies table.
Track an unlimited number of companies for a person.
Track an unlimited number of persons who worked at each company. You decide to create a one-to-many link from the People table to the Companies table. You need to evaluate whether the database is designed effectively and make a recommendation, if required. What should you recommend?

Which file should you modify?

You have an Active Directory domain. All user accounts in the domain contain a custom attribute named Language. The Language attribute is set to either French or English. You have a web application that contains a site in English. You enable the variations to create a French version of the site. You need to ensure that users are automatically redirected to the site that corresponds to the Language attribute of the user account.

Which file should you modify?

What should you recommend?

You create Web-based client applications. Your client company has an existing ASP.NET Web-based application. The Web-based application uses a combination of HTML and client-side scripting to deliver online training content. Your client company has asked you to enhance the application to deliver interactive multimedia content. The enhanced application must support dial-up users. You need to recommend an appropriate multimedia delivery mechanism for the application. What should you recommend?

What line of code should you use?

You have a publishing site. You plan to add an article page to a site by using a console application. You create a console application that contains the following code segment:

01: Using
02: Dim site As New SPSite(“http://internet”)
03: Dim web as SPWeb = site.RootWeb
04: Dim spSite as new PublishingSite(site)
05: Dim pWeb as PublishingWeb = PublishingWeb.GetPublishingWeb(web)
06: Dim articleCTID as New XPContentTypeID(08373…9373)
07: Dim articlePL as PageLayout=pWeb.GetAvailablePageLayout(articleCTID)(1)
08: Dim pageName as String = DateTime.Now.ToString(“yyyyMMdd-HHmmss”)
09: Dim nPage as PublishingPage =
pWeb.GetPublishingPages().Add(String.Format(“myPage.aspx”,”myPage”,0), articlePL)
10:
11: End Using

You need to ensure that the content owners can modify the page.

What line of code should you use?