当前位置:MCTS(70-561)题库

问题:

[单选]

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The application of Contoso.com has a 
TextBox control named ProdID which will return a list of active products that have the ProductID field equal to the ProdID.Text property. Your application contains the following code. (Line numbers are for reference only.)  
01 private DataSet GetProducts(SqlConnection cn) { 
02     SqlCommand cmd = new SqlCommand(); 
03     cmd.Connection = cn; 
04     SqlDataAdapter da = new SqlDataAdapter(cmd); 
05     DataSet ds = new DataSet(); 
06 
07     da.Fill(ds); 
08     return ds; 
09 }  
You need to populate the DataSet object with product records and at the same time to avoiding possible SQL injection attacks.  
What should you do?()

A . A
B . B
C . C
D . D

You plan to implement Hyper-V Virtualization to test applications. In the test environment, you will take frequent snapshots of virtual machines (VMs). You need to recommend which disk types you should use for the planned deployment of the VMs.   Which disk types should you recommend?() fixed-size。 dynamically expanding。 pass-through。 differencing。 下列属于驱逐性警械的有() 警棍。 高压水枪。 特种防暴枪。 手铐。 警绳。 You are the Exchange administrator of the Xxx Corporation’s Exchange 2010 organization.You need to retrieve all messages from Ann’s mailbox that have the word "classified" in the message body and the subject of "New Project." The message may be either in the Calendar or Inbox folders. What should you do?() Use the Exchange Management Console to create a recovery storage group。 Use the Exchange Management Shell to create a recovery storage group。 Use the Exchange Management Console to create a recovery database。 Use the Exchange Management Shell to create a recovery database。 Use the Restore-Mailbox cmdlet to restore only messages that the word "classified" in the message body and the subject of "New Project"。 Use the Export-Message cmdlet to restore only messages that the word "classified" in the message body and the subject of "New Project"。 《中华人民共和国特种设备安全法》规定,特种设备使用单位应当建立()等安全管理制度,制定操作规程,保证特种设备安全运行。 财务管理。 岗位责任。 隐患治理。 应急救援。 清洁卫生。 ‘一带一路’建设将增进沿线各国人民的人文交流与文明互鉴,让各国人民(),共享和谐、安宁、富裕的生活。 相逢相知。 相亲相爱。 互信互敬。 团结互助。

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The application of Contoso.com has a 
TextBox control named ProdID which will return a list of active products that have the ProductID field equal to the ProdID.Text property. Your application contains the following code. (Line numbers are for reference only.)  
01 private DataSet GetProducts(SqlConnection cn) { 
02     SqlCommand cmd = new SqlCommand(); 
03     cmd.Connection = cn; 
04     SqlDataAdapter da = new SqlDataAdapter(cmd); 
05     DataSet ds = new DataSet(); 
06 
07     da.Fill(ds); 
08     return ds; 
09 }  
You need to populate the DataSet object with product records and at the same time to avoiding possible SQL injection attacks.  
What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服