You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()A、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(".")B、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("book")C、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("bookstore//book")D、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("books/book")
You load an XmlDocument named doc with the following XML.
- A、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(".")
- B、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("book")
- C、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("bookstore//book")
- D、Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("books/book")
相关考题:
You would like to create a custom performance counter for an application that you created recently.To do this, you decide to create a custom category named ApplicationPerformance and a performance counter named HitNumber.You need to ensure that this counter is shared across numerous applications.What should you do?()A.B.C.D.
你正在创建一个生成 XML 文档的 ASP.NET Web 应用。你需要为文档增加一个 XML 声明。下面那个代码能够生成如下的 XML 声明?() A.XmlDocument doc = new XmlDocument();doc.Load(subscribers.xml);XmlDeclaration xmldecl = doc.CreateXmlDeclaration(encoding, Unicode);B.XmlDocument doc = new XmlDocument();doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, null, yes);C.XmlDocument doc = new XmlDocument(); doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, Unicode, yes);D.XmlDocument doc = new XmlDocument(); doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, Unicode);
In which two scenarios do you use SQL* Loader to load data?() A. Transform the data while it is being loaded into the database.B. Use transparent parallel processing without having to split the external data first.C. Load data into multiple tables during the same load statement.D. Generate unique sequential key values in specified columns.
You want to install Windows 2000 Professional on 20 new PXE compliant computers, which do not have operating systems installed. You create a RIS image and load the image onto the RIS server and then start the new computers. You find that the new computers cannot connect to the RIS server. You verify that existing client computers on the network can connect to network servers.What should you do? (SELECT AND PLACE)
You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from ListT.. class named Lead. The Lead class contains the properties Title and Revenue.You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemsSource property to Leads as follows.You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue ...What should you do ?()A.B.C.D.
You have recently completely creating a new application for Certkiller .com.This new application has to load an instance of the Inventory class from a large file named Inventory.dat.You need to ensure that the application executes the loading process in as little time as possible.What should you do?()A.B.C.D.
interface Data { public void load(); } abstract class Info { public abstract void load(); } Which class correctly uses the Data interface and Info class?() A、 public class Employee extends Info implements Data { public void load() { /*do something*/ } }B、 public class Employee implements Info extends Data { public void load() { /*do something*/ } }C、 public class Employee extends Info implements Data { public void load() { /*do something */ } public void Info.load() { /*do something*/ } }D、 public class Employee implements Info extends Data { public void Data.load() { /*dsomething */ } public void load() { /*do something */ } }E、 public class Employee implements Info extends Data { public void load() { /*do something */ } public void Info.load(){ /*do something*/ } }F、 public class Employee extends Info implements Data{ public void Data.load() { /*do something*/ } public void Info.load() { /*do something*/ } }
You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do? ()A、Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.B、Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.C、Read the XML file into a DataSet object and set the EnforceConstraints property to True.D、Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
Which two statements are true regarding the usage of the SQL*Loader utility()A、You can load data into multiple tables during the same load session.B、You can load data from multiple files to a table during the same load session.C、You cannot perform selective data loading based on the values available in the records.D、You can use an export file generated by the EXPDP utility as an input data file to load the data.E、You can load data only if the input file is available on the disk and tape but not in a named pipes.
You create a Web page named TestPage.aspx and a user control named contained in a file named TestUserControl.ascx.You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?()A、protected void Page_Load(object sender, EventArgs e) { Control userControl=Page.LoadControl("TestUserControl.ascx"); Page.Form.Controls.Add(userControl); }B、protected void Page_Load(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }C、protected void Page_PreInit(object sender, EventArgs e) { Control userControl =Page.LoadControl("TestUserControl.ascx");Page.Form.Controls.Add(userControl); }D、protected void Page_PreInit(object sender, EventArgs e) { Control userControl = Page.FindControl("TestUserControl.ascx"); Page.Form.Controls.Load(userControl); }
You are the network administrator for your company. The network consists of a single Active Directory domain. All computers on the network are members of the domain. You administer a Network Load Balancing cluster that consists of three nodes. Each node runs Windows Server 2003 and contains a single network adapter. The Network Load Balancing cluster can run only in unicast mode. The Network Load Balancing cluster has converged successfully. To increase the utilization of the cluster, you decide to move a particular application to each node of the cluster. For this application to run, you must add a Network Load Balancing port rule to the nodes of the cluster. You start Network Load Balancing Manager on the second node of the cluster. However, Network Load Balancing Manager displays a message that it cannot communicate with the other two nodes of the cluster. You want to add the port rule to the nodes of the cluster. What should you do? ()A、 Use Network Load Balancing Manager on the Network Load Balancing default host to add the port rule.B、 Change the host priority of the second node to be the highest in the cluster, and then use Network Load Balancing Manager to add the port rule.C、 Run the nlb.exe drain command on each node, and then use Network Load Balancing Manager to add the port rule.D、 Add the port rule through Network Connections Properties on each node.
You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master.You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName. Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadDim s As String = Master.CityNameEnd Sub You need to ensure that TestPage.aspx can access the CityName property. What should you do?()A、Add the following directive to TestPage.aspx. %@ MasterType VirtualPath="~/TestMaster.master" % B、Add the following directive to TestPage.aspx. %@ PreviousPageType VirtualPath="~/TestMaster.master" % C、Set the Strict attribute in the @ Master directive of the TestMaster.master page to true. D、Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.
You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()A、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);B、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);C、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“bookstore//book”);D、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“books/book”);
You have a file server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). You run a full backup of Server1, update the device driver for the network adapter, and then restart Server1. You log on to Server1 and receive an error message that the network adapter driver failed to load. You need to ensure that the network adapter driver starts. You must achieve this goal in the minimum amount of time. What should you do? ()A、Use the Roll Back Driver option.B、Use Windows Backup to restore the system state.C、Restart the server and select the Safe Mode option.D、Restart the server and select the Last Known Good Configuration option.
Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). You have a DNS server named Server1 that hosts a primary zone for the domain. You have a DNS server named Server 2 that hosts a secondary zone for the domain. You discover that the resource records on Server2 are different from the resource records on Server1. You need to ensure that the resource records are the same on Server1 and Server2. What should you do?()A、On Server2, select Reload in the DNS zone.B、On Server2, select Reload from Master in the DNS zone.C、On Server1, select Update Server Data File in the DNS zone.D、On Server1, deselect the Fail on load if bad zone data option.
You have a DNS server named Server1 that hosts a primary zone for the domain. You have a DNS server named Server 2 that hosts a secondary zone for the domain.You discover that the resource records on Server2 are different from the resource records on Server1. You need to ensure that the resource records are the same on Server1 and Server2. What should you do?()A、On Server2, select Reload in the DNS zone. B、On Server2, select Reload from Master in the DNS zone. C、On Server1, select Update Server Data File in the DNS zone. D、On Server1, deselect the Fail on load if bad zone data option.
You work as the enterprise exchange administrator at Xxx .The Xxx network consists of a domain named xxx .The Xxx network has a mail server named XXX-EX01.What actions must you take to do an unattended installation of Exchange Server 2010 server on XXXEX01?()A、You should add recipient filter.B、You should add create Send connectors.C、You should run setup /ps.D、You should add setup.com in the script.
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. You work in a company named Wiikigo, Ltd. and there is a two-node Network Load Balancing cluster. Onlythe intranet Web site will be provided with the high availability and load balancing by the cluster. Thecompany names the cluster as web.wiikigo.com. You find a problem that the Network Load Balancingcluster can be seen in the network neighborhood by the Wiikigo users. And the users can utilize the web.wiikigo.com name to get access to various services. The web.wiikigo.com Network Load Balancing clusteris set with only one port rule. Since you are the technical support, you are required have the web.wiikigo.com Network Load Balancing cluster configured to receive only HTTP traffic. Which two actions should be performed to achieve the goal?()A、To achieve the goal, the Network Load Balancing Clusters console should be opened and a new Allow rule should be created for TCP port 80.B、To achieve the goal, the Network Load Balancing Clusters console should be opened and the default port rule should be modified to a disabled port range rule.C、To achieve the goal, one of the cluster nodes should be logged on to and the wlbs disable all command should be run.D、To achieve the goal, the Network Load Balancing Clusters console should be opened and the default port rules should be deleted.
Your company has an Active Directory domain. All servers in the domain run Windows Server 2008. The Terminal Services Gateway role service is installed on a server named Server1. The Terminal Services role is installed on two servers named Server2 and Server3. Server2 and Server3 are configured in a load balancing Terminal Server farm named TSLoad. You deploy the Terminal Services (TS) Session Broker service on a new server named Server4. You confirm that the TS Session Broker works correctly. You deploy a hardware load balancing device to handle the load distribution to the Terminal Server farm. The device has specialized support for terminal servers and routing tokens. You discover that the TS Session Broker no longer works correctly. You need to ensure that the TS Session Broker works correctly. Which Group Policy object(GPO)should you create and apply to the Terminal Server farm?()A、A GPO that enables the Use IP Address Redirection policy setting in the Session Directory section of the Terminal Server Group Policy template.B、A GPO that disables the Use IP Address Redirection policy setting in the TS Session Broker section of the Terminal Server Group Policy template.C、A GPO that enables the Use TS Session Broker Load Balancing policy setting in the Session Directory section of the Terminal Server Group Policy template.D、A GPO that disables the Use TS Session Broker Load Balancing policy setting in the Session Directory section of the Terminal Server Group Policy template.
单选题你正在创建一个生成 XML 文档的 ASP.NET Web 应用。你需要为文档增加一个 XML 声明。下面那个代码能够生成如下的 XML 声明?()AXmlDocument doc = new XmlDocument();doc.Load(subscribers.xml);XmlDeclaration xmldecl = doc.CreateXmlDeclaration(encoding, Unicode);BXmlDocument doc = new XmlDocument();doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, null, yes);CXmlDocument doc = new XmlDocument(); doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, Unicode, yes);DXmlDocument doc = new XmlDocument(); doc.Load(subscribers.xml); XmlDeclaration xmldecl = doc.CreateXmlDeclaration(1.0, Unicode);
单选题You have a server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 is used for testing. You need to ensure that Server1 administrators can install any driver on Server1 without receiving a warning message. What should you do?()ARun Driverquery.exe.BModify the Driver Signing option.CModify the Load and unload device drivers user right.DModify the permissions for the %systemroot%/system32/drivers folder.
单选题You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom Inherits System.Web.UI.MasterPagePublic Property Region As String Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page. You need to display the value of the master pages Region property in lblRegion.What should you do? ()AAdd the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent lblRegion.Text = custom.RegionBAdd the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master lblRegion.Text = custom.RegionCAdd the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl(lblRegion) lblRegion.Text = Me.RegionDAdd the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl(lblRegion) lblRegion.Text = Me.Region
单选题interface Data { public void load(); } abstract class Info { public abstract void load(); } Which class correctly uses the Data interface and Info class?()A public class Employee extends Info implements Data { public void load() { /*do something*/ } }B public class Employee implements Info extends Data { public void load() { /*do something*/ } }C public class Employee extends Info implements Data { public void load() { /*do something */ } public void Info.load() { /*do something*/ } }D public class Employee implements Info extends Data { public void Data.load() { /*dsomething */ } public void load() { /*do something */ } }E public class Employee implements Info extends Data { public void load() { /*do something */ } public void Info.load(){ /*do something*/ } }F public class Employee extends Info implements Data{ public void Data.load() { /*do something*/ } public void Info.load() { /*do something*/ } }
多选题You load an XmlDocument named doc with the following XML. Dictionary World Atlas You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()Aforeach (XmlNode node in nodes){ node.Attributes[0].Value = “NA”;}Bforeach (XmlNode node in nodes){ node.Attributes[1].Value = “NA”;}Cforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“/genre”); genre.Value = “NA”;}Dforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“@genre”); genre.Value = “NA”;}Eforeach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“genre”); genre.Value = “NA”;}
单选题You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas. You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents.What should you do? ()ACreate an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.BCreate an instance of the XmlReader class with an instance of the XmlTextReader class.CCreate an instance of the XmlDocument class and specify a location for the application schema.DCreate an instance of the XmlReader class with an instance of the XmlNodeReader class.
单选题You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()ADim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(.)BDim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(book)CDim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(bookstore//book)DDim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(books/book)
单选题You need to resolve the blocking issue that is affecting the performance of the CRM system. What should you do?()AReplace the named query with an SQL view.BSet the transaction isolation level to serializable in the named query.CSet the source database to use snapshot isolation.DSet the transaction isolation level to repeatable read in the named query.