网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
多选题
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument( )doc.LoadXml("10" &_"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()
A
Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)
B
Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode(discount))
C
doc.RemoveChild(doc.FirstChild)
D
doc.DocumentElement.RemoveChild(doc.FirstChild)
参考答案
参考解析
解析:
暂无解析
更多 “多选题Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument( )doc.LoadXml("10" _"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()ADim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)BDim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode(discount))Cdoc.RemoveChild(doc.FirstChild)Ddoc.DocumentElement.RemoveChild(doc.FirstChild)” 相关考题
考题
Your Web site uses custom Themes. Your Web site must support additional Themes based on the user‘s company name. The company name is set when a user logs on to the Web site. The company‘s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site‘s Theme.What should you do?()A.B.C.D.
考题
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument()doc.LoadXml("10" discount))C. doc.RemoveChild(doc.FirstChild)D. doc.DocumentElement.RemoveChild(doc.FirstChild)
考题
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2).You create a new virtual directory named App1. App1 contains a Web application.Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application.You need to ensure that users can access the Web application when they connect to http://app1.What should you do? ()A. Move the content of the Web application to C:\App1. Change the home directory for App1.B. Move the content of the Web application to C:\App1. Change the application pool for App1.C. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.D. Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.
考题
You are an enterprise administrator for Cer-tech .com. The company runs Windows Server 2008 on all the servers on the network. One of the servers, Server01 has the Web Server (IIS) role installed on it. The Server01 hosts multiple websites. Which of the following options would you choose to configure the server to automatically release memory for a single web site without affecting the other Web sites?()A、Modify the Physical Path Credentials on the virtual directory.B、Modify the bindings for the Web site.C、Modify the Recycling options from the Application Pool Defaults.D、Create a new application pool and associate the Web site to the application pool.
考题
Your company has an Active Directory domain. All computers are members of the domain. Your networkcontains an internal Web site that uses Integrated Windows Authentication. From a computer that runs Windows 7, you attempt to connect to the Web site and are prompted for authentication. You verify that youruser account has permission to access the Web site. You need to ensure that you are automaticallyauthenticated when you connect to the Web site. What should you do?()A、Create a complex password for your user account.B、Open Credential Manager and modify your credentials.C、Add the URL of the Web site to the Trusted sites zone.D、Add the URL of the Web site to the Local intranet zone.
考题
You have the Web Server (IIS) role installed on a server that runs Windows Server 2008. You create a Web site named contoso.com. You copy an application named WebContent to the server. You need to enable the WebContent application on the Web site. What should you do?()A、At the command prompt on the server, run the appcmd add site command.B、At the command prompt on the server, run the appcmd add vdir command.C、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Application.D、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Virtual Directory.
考题
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()A、Use the Copy Web tool.B、Create a Web Setup project.C、Use the Publish Web tool.D、Use the command line to XCOPY the files.
考题
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()A、Move the content of the Web application to C:/App1. Change the home directory for App1.B、Move the content of the Web application to C:/App1. Change the application pool for App1.C、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.D、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.
考题
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument( )doc.LoadXml("10" _"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()A、Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)B、Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode("discount"))C、doc.RemoveChild(doc.FirstChild)D、doc.DocumentElement.RemoveChild(doc.FirstChild)
考题
Your network contains a Windows Server 2008 server that has the Web Server (IIS) server role installed. You have a Web application that uses a custom application pool. The application pool is set to recycle every 1,440 minutes. The Web application does not support multiple worker processes. You need to configure the application pool to ensure that users can access the Web application after the application pool is recycled. What should you do?()A、Set the Shutdown Executable option to True.B、Set the Process Orphaning Enabled option to True.C、Set the Disable Overlapped Recycling option to True.D、Set the Disable Recycling for Configuration Changes option to True.
考题
You are the desktop administrator for your company. Your company’s software developers use Windows XP Professional and IIS on their client computers to develop Web-based applications. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. One of the developers reports that he can no longer access the Web-based application on his desktop by using his Web browser. When you attempt to access the application by using your Web browser, you receive the following error message: “Cannot find server or DNS Error.” You verify that the World Wide Web Publishing Service is started on the developer’s computer. You also verify that you are using the correct URL to access the developer’s computer by using your Web browser. You need to ensure that the developer can access the Web application by using his Web browser. How should you configure the developer’s computer?() A、Start the default Web site.B、Start the IIS Admin Service.C、Run the IPconfig /registerdns command.D、In the default Web site properties,disable the host header setting.
考题
You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()A、Modify the application settings by using the Web Site Administration Tool.B、Modify the application settings by using the Visual Studio property page editor for the project.C、Modify the application settings by using the resource editor.D、Modify the application settings by using the Visual Studio start options editor.
考题
You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A、Enable WebDAV.B、Enable Server Side Includes.C、Configure both Web sites to use different IP addresses.D、Configure both Web sites to use different application pools.
考题
Your Web site processes book orders. One of the application methods contains the following code segment. XmlDocument doc = newXmlDocument( ); doc.LoadXml(“10”+” Dictionary”); You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. ()A、XmlNode root = doc.DocumentElement;root.RemoveChild(root.FirstChild);B、XmlNode root = dec.DocumentElement;root.RemoveChild(root.SelectSingleNode(“discount”));C、doc.RemoveChild(doc.FirstChild);D、doc.DocumentElement.RemoveChild(doc.FirstChild);
考题
Which utility allows you to pre-compile and publish your Web site to a new location?()A、Publish Web SiteB、Web-based installationC、Web site project modeD、Web services directory
考题
单选题You are the desktop administrator for your company. Your company’s software developers use Windows XP Professional and IIS on their client computers to develop Web-based applications. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. One of the developers reports that he can no longer access the Web-based application on his desktop by using his Web browser. When you attempt to access the application by using your Web browser, you receive the following error message: “Cannot find server or DNS Error.” You verify that the World Wide Web Publishing Service is started on the developer’s computer. You also verify that you are using the correct URL to access the developer’s computer by using your Web browser. You need to ensure that the developer can access the Web application by using his Web browser. How should you configure the developer’s computer?()A
Start the default Web site.B
Start the IIS Admin Service.C
Run the IPconfig /registerdns command.D
In the default Web site properties,disable the host header setting.
考题
单选题You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites. You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()A
Create a new Web site and edit the bindings for the Web site.B
Create a new application pool and associate the Web site to the application pool.C
Create a new virtual directory and modify the Physical Path Credentials on the virtual directory.D
From the Application Pool Defaults, modify the Recycling options.
考题
单选题Your company has an internal Web site that requires HTTPS. The Web site s certificate is self-signed. Youhave a computer that runs Windows 7 and Windows Internet Explorer 8. You use HTTPS to browse to theWeb site and receive the following warning message: There is a problem with this website s security certificate. You need to prevent the warning message from appearing when you access the Web site. What should you do?()A
From Internet Explorer, enable InPrivate Browsing.B
From Internet Explorer, add the Web site to the Trusted sites zone.C
From Certificate Manager, import the Web site s certificate into your Personal store.D
From Certificate Manager, import the Web site s certificate into your Trusted Root CertificationAuthorities store.
考题
单选题Your network consists of a single Active Directory domain. All servers run Windows Server 2008 R2. You plan to publish a Web site on two Web servers. You need to deploy an availability solution for your Web servers that meets the following requirements: èSupports the addition of more Web servers without interrupting client connections èEnsures that the Web site is accessible even if a single server fails What should you do?()A
Configure a failover cluster.B
Configure a Web garden on each Web server.C
Create a Network Load Balancing cluster.D
Create two application pools on each Web server.
考题
单选题You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. A Web site is hosted by your company, and the web site is on a server thatruns Windows Server 2008. The Web Server (IIS) server role is installed on the server. The company configures SSL on the Web site for virtual directories which encryption is needed. A new Web application is implemented on the Web site. Its own logon page named userlogin.aspx is contained by the new application. Forms Authentication is enabled in the Web site properties. Since you are the technical support, you are required to configure the Web site so as to authenticate user accounts by utilizing userlogin.aspx. Which action should be performed to achieve the goal?()A
To achieve the goal, the Login URL property for the Forms Authentication Settings should be configured to the userlogin.aspx filename.B
To achieve the goal, the Default Document setting should be configured to add the userlogin.aspx filename in the Web site properties.C
To achieve the goal, the Forms Authentication Settings should be configured to Require SSL.D
To achieve the goal, the Name property of the Cookie Settings should be configured to the userlogin.aspx filename.
考题
单选题You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. The Web developer at your company creates a new Web site that runs an ASP.NET 3.0 Web application. The ASP.NET Web application must run under a security context that is separate from any other ASP.NET application on the Web server. You create a local user account and grant account rights and permissions to run the ASP.NET Web application. You need to configure authentication for the new Web site to support the Web application. What should you do?()A
Configure the Windows Authentication setting to Enabled.B
Configure the Forms Authentication setting to Enabled by using all the default settings.C
Configure the ASP.NET State service to log on to the new local user account by using the Services console.D
Configure the ASP.NET Impersonation setting to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.
考题
单选题You install the Web Server (IIS) role on a new server that runs Windows Server 2008. You install a Microsoft .NET Framework 1.0 application on a Web site on the Web server. The company security policy states that all applications must run by using the minimum level of permission. You need to configure the Web site application so that it has the permissions to execute without creating any other content and without accessing any operating system components. What should you do?()A
Set the .NET Framework trust level to Full for the Web site.B
Set the .NET Framework trust level to Low for the Web site.C
Set the .NET Framework trust level to High for the Web site.D
Set the .NET Framework trust level to Medium for the Web site.
考题
单选题You are a systems administrator responsible for securing a Windows Server 2008 Web server. You havecreated a new Web site called Contoso Intranet that will contain seven Web applications. One of theapplication developers has told you that her Web application requires a new request handler that isprocessed using a .NET library her team created. How can you meet these requirements while also maximizing security for the server?()A
Add a new managed handler to the Contoso Intranet Web site.B
Add a new managed handler for the specific Web application that requires it.C
Add a new module mapping to the Contoso Intranet Web site.D
Add a new module mapping for the specific Web application that requires it.
考题
单选题You are the network administrator for your company. The network consists of a single Active Directory domain. All servers run Windows Server 2003. The network contains a Web server that runs IIS 6.0 and hosts a secure intranet site. All users are required to connect to the intranet site by authenticating and using HTTPS. However, because an automated Web application must connect to the Web site by using HTTP, you cannot configure the intranet site to require HTTPS. You need to collect information about which users are connecting to the Web site by using HTTPS. What should you do?()A
Check the application log on the Web server.B
Use Network Monitor to capture network traffic on the Web server.C
Review the log files created by IIS on the Web server.D
Configure a performance log to capture all Web service counters. Review the performance log data.
考题
多选题You are a systems administrator responsible for managing a Windows Server 2008 Web Server Currently,there are no Web sites configured on the server. You need to configure the server to host two Web applications: Engineering App and Sales App. Both Web applications must be accessible by using HTTPport 80 without the use of host headers. Also, you must protect against problems in one Web applicationaffecting the performance or reliability of the other Web application. Which two steps should you take tomeet these requirements?()ACreate a single Web site that contains both Web applications.BCreate two Web sites, one for each Web application.CAssign both Web applications to the same application pool.DAssign each Web application to its own application pool.
热门标签
最新试卷