최신Microsoft TS: Microsoft .NET Framework 2.0 - Web-based Client Development - 70-528무료샘플문제
문제1
You are creating a Microsoft ASP.NET Web site.
The Web site aggregates data from various data stores for each employee. The data stores have security access configured for each employee based on their identity.
You need to ensure that employees can access the data stores by using the Web site.
Which code fragment should you add to the Web.config file?
You are creating a Microsoft ASP.NET Web site.
The Web site aggregates data from various data stores for each employee. The data stores have security access configured for each employee based on their identity.
You need to ensure that employees can access the data stores by using the Web site.
Which code fragment should you add to the Web.config file?
정답: C
문제2
You are debugging an internal Web application. All requests to a particular Web page result in the display of the custom application error page.
You need to ensure that you can view the stack trace in the Web browser. You also need to ensure that users cannot view the stack trace.
Which code fragment should you add to the Web.config file of the Web application?
You are debugging an internal Web application. All requests to a particular Web page result in the display of the custom application error page.
You need to ensure that you can view the stack trace in the Web browser. You also need to ensure that users cannot view the stack trace.
Which code fragment should you add to the Web.config file of the Web application?
정답: C
문제3
Your Web Form consists of a number of controls. A GridView control displays ordering information for 50
products.
Your company is unable to accept orders through the Internet, and none of the controls post back to the
server.
You need to minimize the time that it takes to load the Web Form. What should you do?
Your Web Form consists of a number of controls. A GridView control displays ordering information for 50
products.
Your company is unable to accept orders through the Internet, and none of the controls post back to the
server.
You need to minimize the time that it takes to load the Web Form. What should you do?
정답: D
문제4
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control
by using the following code segment.
<asp:CreateUserWizard id="Wizard1" runat="server"/>
You need to ensure that the wizard automatically sends an e-mail message to users when they finish
creating their accounts.
You add a valid <smtp> element to the Web.config file.
Which code segment should you add to the Page_Load event?
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control
by using the following code segment.
<asp:CreateUserWizard id="Wizard1" runat="server"/>
You need to ensure that the wizard automatically sends an e-mail message to users when they finish
creating their accounts.
You add a valid <smtp> element to the Web.config file.
Which code segment should you add to the Page_Load event?
정답: A
문제5
You create a Web Form with several UI elements on it. During a code review, you realize that some of the
UI elements can be grouped into user controls.
You need to create a Web control to group the UI elements that do not require server-side processing.
Doing so will enable you to programmatically add or remove the UI elements from the page. You want to
maintain the UI elements' style properties.
What should you do?
You create a Web Form with several UI elements on it. During a code review, you realize that some of the
UI elements can be grouped into user controls.
You need to create a Web control to group the UI elements that do not require server-side processing.
Doing so will enable you to programmatically add or remove the UI elements from the page. You want to
maintain the UI elements' style properties.
What should you do?
정답: C
문제6
You develop a Web application that writes data to a file on a server. You restrict access to the file to
specific Windows users.
The Web application runs as CONTOSO\ASPNET. You deny anonymous access to the application in IIS.
You add the following XML segment in the Web.config file.
<authentication mode="Windows"/>
You need to ensure that the application meets the following requirements:
It must impersonate the user when it writes data to the file.
It must run as CONTOSO\ASPNET when a user does not access the file.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You develop a Web application that writes data to a file on a server. You restrict access to the file to
specific Windows users.
The Web application runs as CONTOSO\ASPNET. You deny anonymous access to the application in IIS.
You add the following XML segment in the Web.config file.
<authentication mode="Windows"/>
You need to ensure that the application meets the following requirements:
It must impersonate the user when it writes data to the file.
It must run as CONTOSO\ASPNET when a user does not access the file.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
정답: B,D