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("
- 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 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 need to reduce the level of access that a malicious Web site might have to your computer.What should you do?() A.AB.BC.CD.D
The pop-up blocker is enabled on your computer. A Web site that you visit regularly uses pop-ups.You need to view the pop-ups from this Web site while maintaining the highest level of security for all other Web sites.What are two possible ways to achieve this goal?()A.AB.BC.CD.DE.E
publications on your assignment list. Instructions for submitting the first draft of each review, inaddition to information on the formation of a peer critique group for your work,()on our Web site.A.is locatingB.locateC.locatedD.are located
资料:Because of the biochemical reactions in your body that occur with every type of food you eat on a daily bases, some foods age you faster than your real age, while other foods help to fight aging.Three of the processes that go on inside your body that have a major impact on your rate of aging are called “glycation”, “inflammation” and “oxidation”.When we talk about aging, we’re not just talking about wrinkles on your skin or how thick your hair is, we’re also talking about factors that you can’t see, such as how well your organs function, and whether your joints are degrading.The passage is probably___.A.the preface of a book.B.an excerpt from a paper on healthC.a book reviewD.promotional materials for a book
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.
Your company has a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. You need to activate SSL for the default Web site. Which two actions should you perform?()A、Obtain and import a server certificate by using the IIS Manager console.B、Select the Generate Key option in the Machine Key dialog box for the default Web site.C、Add bindings for the HTTPS protocol to the default Web site by using the IIS Manager console.D、Install the Digest Authentication component for the Web server role by using the Server Manager console.
You need to design an access control solution for customer information. Your solution must meet security requirements.What should you do?()A、Configure the Web site to require SSL connections. Configure the Web site to require client certificates. Enable and configure client certificate mapping on the Web siteB、Configure the Web site to require SSL connections. Disable anonymous access to the Web site.Assign the Allow – Read permission to the customer user accounts for the folder that contains the Web site filesC、Configure the Web site to use only Microsoft .NET Passport authentication. Specify the den.corp.woodgrovebank.com domain as the default domain for .NET Passport authentication.Configure a custom local IPSec policy on the Web servers to require IPSec communicationsD、Configure the Web site to use only Windows Integrated authentication. Configure a custom local IPSec policy on the Web servers to require IPSec communications. Configure the IPSec policy to use certificate-based authentication and encryption
You work as a network administrator for Tailspintoys.com. Your job responsibilities include supporting company servers. The Tailspintoys.com network hosts a Web server that runs on a single server namedWebsrv1. Recently, traffic to the Web site has been increasing, and the performance of the Web serverhas been deteriorating. Traffic to the Web site is expected to continue to increase over the next five toeight years. You want a solution that can solve the performance problems of the Web server and meet theincreasing workload requirements for the Web site for the next five to eight years. What should you do?()A、Migrate the Web site to a more powerful server.B、Use NLB to create a Web farm to support the Web site.C、Use failover clustering to support the Web site with multiple servers in a cluster.D、Add a second Web server, and then use DNS round-robin to distribute Web requests between the twoservers. Add more servers as necessary.
You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()A、Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.B、Add a SiteMapPath control to the Web Form and bind the TreeView control to it.C、Embed the site map XML within the SiteMap node of a Web.sitemap file.D、Embed the site map XML within the AppSettings node of a Web.config file.E、Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.F、Set the SkipLinkText property of the SiteMapPath control to Sales.
You are working with a team of developers on a Web site. You copy the Web site from the staging server to work on it locally. While making changes, you create new C# source code files and delete old ones. You need to ensure that your changes propagate to the staging server without affecting any files that you have not modified. Which tool should you use? ()A、XCOPYB、the Copy Web toolC、the Publish Web toolD、a Web Setup project
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
多选题The pop-up blocker is enabled on your computer. A Web site that you visit regularly uses pop-ups. You need to view the pop-ups from this Web site while maintaining the highest level of security for all other Web sites. What are two possible ways to achieve this goal?()ADisable the pop-up blocker.BAdd the URL of the Web site to the list of trusted sites.CAdd the URL of the Web site to the list of allowed sites.DEnable the Automatic Website Checking option on the Phishing filter.EVisit the Web site and select the Always allow pop-ups from this site option.
单选题You install the Web Server (IIS) role on a server that runs Windows Server 2008. Your companys default Web site has an IP address of 10.10.0.1. You add a Web site named HelpDesk. The HelpDesk Web site cannot be started.You need to configure the Helpdesk Web site so that it can be started. What should you do?()ARun the iisreset /enable command on the server.BConfigure the Helpdesk Web site to use a host header.CRun the appcmd add site /name: HelpDesk /id:2 /physicalPath: c:/HelpDesk /binding:http/*:80:helpdesk command on the server.DRun the set-location Cliteralpath d:/HelpDesk_content HelpDesk ID://2 location port:80 domain:helpdesk command in the Microsoft Windows PowerShell tool on the server.
单选题Your company has a stand-alone server named Server2 that runs Windows Server 2003 Service Pack 2 (SP2). Server2 is a Web server.You monitor two client connections to your Web site on Server2 and obtain the results shown in the exhibit.(Click the Exhibit button.) You need to ensure that all connections to the Web server are encrypted. What should you do?()AInstall a Web server certificate on Server2. BConfigure the Web site to require a secure channel. CConfigure the Web site to redirect all requests to https://Server2. DConfigure the Web site to require integrated Windows authentication.
单选题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?()AFrom Internet Explorer, enable InPrivate Browsing.BFrom Internet Explorer, add the Web site to the Trusted sites zone.CFrom Certificate Manager, import the Web site s certificate into your Personal store.DFrom 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?()AConfigure a failover cluster.BConfigure a Web garden on each Web server.CCreate a Network Load Balancing cluster.DCreate two application pools on each Web server.
单选题You are a systems administrator responsible for managing a Windows Server 2008 Web server. Recently,your organization set up a new IIS Web site that will be accessed by users outside of your organizations.Consultants should be able to connect to this Web site, using IIS Manager. Your organization’s securitypolicy prevents you from creating domain accounts or local user accounts for these users. You attempt touse the IIS Manager Permissions feature for the Web site. However, when you click Allow User, you areable to select only Windows users. How can you resolve this problem?()AVerify that Management Service has been started.BReconfigure the file system permissions for the root folder of the Web site.CReconfigure Management Service to enable Windows And IIS Manager Credentials.DVerify the Authentication settings for the Web site.
单选题Your company has a new server that runs Windows Server 2008. The Web Server (IIS) role is installed. Your company hosts a public Web site. You notice unusually high traffic volume on the Web site. You need to identify the source of the traffic. What should you do?()AEnable the Web scripting option.BRun the netstat Can command on the server.CCreate a custom view in Event Viewer to filter information from the security log.DEnable Web site logging in the IIS Server Manager and filter the logs for the source IP address.
多选题You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()AAdd a SiteMapDataSource control to the Web Form and bind the TreeView control to it.BAdd a SiteMapPath control to the Web Form and bind the TreeView control to it.CEmbed the site map XML within the SiteMap node of a Web.sitemap file.DEmbed the site map XML within the AppSettings node of a Web.config file.ESet the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.FSet the SkipLinkText property of the SiteMapPath control to Sales.
单选题You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()Aauthorization allow users=?/ /authorizationBauthorization deny users=?/ /authorizationCauthorization deny users=*//authorizationDauthorization allow users=*/ /authorization
单选题Which utility allows you to pre-compile and publish your Web site to a new location?()APublish Web SiteBWeb-based installationCWeb site project modeDWeb services directory
单选题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?()ACheck the application log on the Web server.BUse Network Monitor to capture network traffic on the Web server.CReview the log files created by IIS on the Web server.DConfigure a performance log to capture all Web service counters. Review the performance log data.