Microsoft UPG:Transition MCPD.NET Frmwrk 3.5 Web Dev to 4 Web Dev 認定 070-523 試験問題:
1. You use Microsoft Visual Studio 2010, Microsoft Sync Framework, and Microsoft .NET Framework 4 to create an application. You have a ServerSyncProvider connected to a Microsoft SQL Server database. The database is hosted on a Web server. Users will use the Internet to access the Customer database through the ServerSyncProvider. You write the following code segment. (Line numbers are included for reference only.)
01SyncTable customerSyncTable = new SyncTable("Customer"); 02customerSyncTable.CreationOption = TableCreationOption. UploadExistingOrCreateNewTable;
04customerSyncTable.SyncGroup = customerSyncGroup; 05 this.Configuration.SyncTables.Add(customerSyncTable);
You need to ensure that the application meets the following requirements: "Users can modify data locally and receive changes from the server. "Only changed rows are transferred during synchronization. Which code segment should you insert at line 03?
A) customerSyncTable.SyncDirection = SyncDirection.DownloadOnly;
B) customerSyncTable.SyncDirection = SyncDirection.Bidirectional;
C) customerSyncTable.SyncDirection = SyncDirection.Snapshot;
D) customerSyncTable.SyncDirection = SyncDirection.UploadOnly;
2. You are creating an ASP.NET Web site. The site contains pages that are available to anonymous users.
The site also contains a page named Premium.aspx that provides premium content to only members of a
group named Subscribers.
You need to modify the web.config file to ensure that Premium.aspx can be accessed by only members of
the Subscribers group.
Which configuration should you use?
A) <location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/> <deny users="?"/> </authorization> </system.web> </location>
B) <location path="Premium.aspx"> <system.web> <authorization> <deny users="*"/> <allow roles="Subscribers"/>
</authorization>
</system.web>
</location>
C) <location path="Premium.aspx"> <system.web> <authorization> <allow users="Subscribers"/> <deny users="*"/> </authorization> </system.web> </location>
D) <location path="Premium.aspx"> <system.web> <authorization> <allow roles="Subscribers"/> <deny users="*"/> </authorization> </system.web> </location>
3. You use Microsoft Visual Studio 2010 and Microsoft. NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. You use Entity SQL of the ADO.NE Entity Framework to retrieve data from the database. You need to define a custom function in the conceptual model. You also need to ensure that the function calculates a value based on properties of the object. Which two XML element types should you use? (Each correct answer presents part of the solution. Choose two.)
A) Function
B) Dependent
C) FunctionImport
D) DefiningExpression
E) Association
4. You are implementing an ASP.NET Web site. The site contains the following class.
public class Address
{
public int AddressType;
public string Line1;
public string Line2;
public string City;
public string ZipPostalCode;
}
The Web site interacts with an external data service that requires Address instances to be given in the
following XML format.
<Address AddressType="2">
<Line1>250 Race Court</Line1>
<City>Chicago</City>
<PostalCode>60603</PostalCode>
</Address>
You need to ensure that Address instances that are serialized by the XmlSerializer class meet the XML
format requirements of the external data service.
Which two actions should you perform (Each correct answer presents part of the solution. Choose two.)
A) Add the following attribute to the AddressType field. [XmlAttribute]
B) Add the following attribute to the ZipPostalCode field. [XmlElement("PostalCode")]
C) Add the following attribute to the ZipPostalCode field. [XmlAttribute("ZipCode")]
D) Add the following attribute to the Line2 field. [XmlElement(IsNullable=true)]
5. You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to several SQL Server databases. You create a function that modifies customer records that are stored in multiple databases. All updates for a given record are performed in a single transaction. You need to ensure that all transactions can be recovered. What should you do?
A) Call the EnlistDurable method of the Transaction class.
B) Call the EnlistVolatile method of the Transaction class.
C) Call the RecoveryComplete method of the TransactionManager class.
D) Call the Reenlist method of the TransactionManager class.
質問と回答:
| 質問 # 1 正解: B | 質問 # 2 正解: D | 質問 # 3 正解: A、D | 質問 # 4 正解: A、B | 質問 # 5 正解: A |














1024 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
