Tuesday, July 21, 2009

Exact Questions and Answers of Microsoft 70-536 Exam, 70-536 braindump and 70-536 paper exam

Microsoft 70-536

Certification Provider: Microsoft
Exam Name: 70-536 - Microsoft .NET Framework, Application Development Foundation
Related Certifications: Microsoft MCPD, MCTS

Customer Thoughts on 70-536

"My success in Microsoft 70-536 certification exam has proved a marvellous career opportunity for me. I have enlisted myself among those successful Microsoft 70-536 IT professionals who are in need all around the world. It was made possible with the help of Microsoft 70-536 Testking Real Question & Answers study software. It leveled the road to my success easier and I was able to score of my choice and preference."

Microsoft is a very big name in the field of information technology that manufactures IT products and also offers its wide array and huge range of information technology certifications. Microsoft is a very well reputed and a very well known certification organization. Microsoft certifications are very much authentic and valid allover the world. IT professionals prefer to be Microsoft certified because Microsoft certifications are very much valuable and accepted in the whole world. Microsoft certifications are rated very high amongst the top and high quality certifications all around the world. Microsoft has proved itself as the best with its high quality products and mostly due to the standard and high quality of its certifications. Microsoft 70-536 certification exam is a very significant and valuable certification from Microsoft, and this certification is equally beneficial for the general people and the IT professionals. Microsoft 70-536 certification exam is also known as Microsoft 70-536 .NET Framework 2.0 Application Development Foundation certification exam.

Microsoft 70-536 certification explains candidates about successfully developing applications that generally make use of system types and the collections. It also explains candidates how to control data within a .NET Framework application through the .NET Framework 20 System Types. This topic also explains candidates about the Value types, Nullable types and reference types. The next topic of this makes candidates capable of administering the group of connected or relevant data within a .NET Framework application with the help of collections. In this topic, candidates also learn about the ArrayList class, collection interfacesm, ICollection interface and IList interface. The next topic of this certification makes candidates capable of optimizing the type safety and the application performance within a .NET Framework application by utilizing the generic collections. It also explains the collection generic interfaces, Generic linkedlist, generic linkedlist class and the generic linkedlistnode class. In the next topic, candidates get the expertise of effectively controlling the data within a .NET Framework application by utilizing the specialized collections. In order to base components to fulfill the standard contracts, the next topic explains candidates how to apply .NET Framework interfaces. The next topic is about the basic information and expertise of applying the service process, threading and the application domains within a .NET Framework application. Candidates also become capable of applying, deploying and managing a service. This topic also makes candidates capable of developing the multithreaded .NET Framework functions. The next topic of this certification makes candidates capable of inserting configuration, diagnostic, administration and the mechanism attributes into a .NET Framework application. The next topic of this certification explains candidates how to control an event log with the help of system diagnostics namespace. Candidates of this certification also get the expertise of applying serialization and the input/output functionality within a .NET Framework application. This certification also explains candidates how to serialize and de-serialize an object and an object graph with the help of runtime serialization skills or methods. The next topic provides expertise of successfully applying custom serialization formatting with the help of serialization formatting classes. Candidates also get the expertise of controlling byte streams with the help of stream classes. This certification also explains candidates how to format data that is purely based on the culture information. All these topics are the basic and general topics of this certification, but the other associated topics may also appear at time.

Benefits of Microsoft 70-536 certification exams:
1. Microsoft 70-536 certification exam provides useful knowledge about the .NET Framework 2.0 and application development.
2. Microsoft 70-536 certification exam makes candidates capable of dealing with concerns and problems of .NET Framework 2.0.
3. The certified candidates of this certification have a lot of scope and demand in the IT industry and especially in the application development field.

Microsoft 70-536 certification exam is recommended for:
1. Microsoft 70-536 certification exam is ideally designed for those people who wish to get knowledge, information and expertise about the Microsoft .NET Framework and also about the application development foundation.
2. This certification is genuinely designed for those people who wish to become Microsoft certified application developers.
3. This certification is intended towards those people who wish to have bright and successful career, and want to work with huge and famous organizations.

From Testking, you can get study material, study guides, practice exams, expected Questions/Answers, exams information and every other kind of data and information that is necessary for you to successfully pass the exams and achieve Microsoft 70-536 certification.


70-452 Certification Exam, 70-452 Free Questions & Practice Test, 70-452 Training Materials.

Guarantee your 70-452 success with our 70-452 Exam Resources. Our exams are developed by experiences IT Professionals working in today's prospering companies and date centers. All our practice exams including 70-452 exam guarantee you the exam success you need.

70-452 can be a challenging exam, measuring your 70-452 Exam skills, and compliments the other exams in this certification.

Microsoft 70-452 Exam - CertifySky.com

Free 70-452 Sample Questions:

Q: 1 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. And you want to deploy a new database that contains a cube to the SQL Server 2008 Analysis Services (SSAS) instance. And the cube contains three Type 1 slowly changing dimensions. The database is updated everyday by adding 4,800 rows of data every hour. Now you have to make sure two things, one is the cube must contain up-to-date data at all times, the other is, during cube processing, the users are able to access the cube. So what should you do to achieve this two?
A. You should utilize the relational online analytical processing (ROLAP) cube storage model.
B. You should utilize the automatic multidimensional online analytical processing (MOLAP) cube storage model.
C. You should utilize the hybrid online analytical processing (HOLAP) cube storage model. Use the snapshot isolation level in the relational database that the cube is
D. You should utilize the hybrid online analytical processing (HOLAP) cube storage model. Use SQL Server 2008 Integration Services (SSIS) pipeline tasks to
Answer: A

Q: 2 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. You create 8 SQL Server 2008 Integration Services (SSIS) packages. You intend to include package configuration for all the packages. The package configuration has the following requirements: Indirect configuration is used.All configurations are stored in a single location.Configuration variables are easily backed up and restored.The database administrators will use change the configuration values by using SQL Server client tools.You have to create package configurations for the packages to satisfy the configuration requirements. So what should you do?
A. You should store all configuration information in a SQL Server table. Specify configuration database connectivity settings in the SQL Server table.
B. You should store all configuration information in a SQL Server table. Specify configuration database connectivity settings in an environment variable.
C. You should use XML configuration files for all packages. Store each XML configuration file in a common folder. Specify the XML configuration file location in an
D. You should use XML configuration files for all packages. Store each XML configuration file in a common folder. Specify the XML configuration file location in the
Answer: B

Q: 3 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. Now you??re in charge of designing SQL Server2008 Integration Services (SSIS) projects. You intend to deploy the projects in the following manner: A parent package on an instance that is named SSIS1.Three child packages individually on three instances that are named SSIS2, SSIS3, and SSIS4. So what should you do to make sure that the parent package can discover the execution state of the child packages?
A. You should configure the parent package to log its events to a SQL Server log provider.
B. You should configure the child packages to log their events to a SQL Server log provider.
C. You should configure the child packages to log their events to a SQL Server Profiler log provider.
D. You should configure the parent package to log its events to a SQL Server Profiler log provider.
Answer: B

Q: 4 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. Now you??re moving a database from Microsoft SQL Server 2000 to SQL Server 2008. You want to identify the potential data quality problems before migration. You intend to use SQL Server 2008 Integration Services (SSIS) to work out a solution which must meet the following requirements: Requires minimum development efforts. Runs as a repetitive process based on SSIS.Allows specification of flexible patterns to identify NULL and invalid column values. So which SSIS task should you use?
A. You should use Script
B. You should use ActiveX Script
C. You should use Data Profiling
D. You should use Data Mining Query
Answer: C

Q: 5 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. You intend to analyze customer interests for the various sections of the Web site of your company. Information that you need for analysis is stored in the log files on the Web server. You plan to work out a SQL Server 2008 Integration Services (SSIS) solution to load the information from the log files into a database. You need to enumerate the log files that are stored on the Web server.So which control flow element should you utilize?
A. You should utilize File System task
B. You should utilize Sequence container
C. You should utilize Data Profiling task
D. You should utilize Foreach Loop container
Answer: D

Q: 6 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. A SQL Server 2008 Integration Services (SSIS) solution includes 10 packages. All packages perform the extract, transform, and load (ETL) tasks to populate a data warehouse. The packages are deployed to multiple servers and executed by several users. You have to log the user and start time for each package execution as columns in the destination tables of the data warehouse. What should you do? So what should you do?
A. You should add a Data Profiling task to the Control Flow task.
B. You should add a SQL Server Profiler Log Provider to the package.
C. You should add a Transfer Logins component to the Control Flow task.
D. You should add an Audit Transformation component within the Data Flow task.
Answer: D

Q: 7 You are the administrator of your company network. You use Server 2008 to develop a Business Intelligence (BI) solution. You work out a SQL Server 2008 Analysis Services (SSAS) solution. Customer data is stored in the tables named CustomerContact and CustomerDetails. The solution utilizes the following two data sources from two different servers: ContosoCRM that accesses the CustomerContact table Contoso that accesses the CustomerDetails tableYou intend to create a dimension named DimCustomer that analyzes customer data. You have to make sure that the DimCustomer dimension represents the tables as a snowflake schema to include attributes from the two tables. So what should you do to ensure this?
A. You should create a data source view named DsvContoso which is associated with the two data sources and add the tables to the data source view.
B. You should create a data source view named DsvContoso which is associated with the two data sources and create a named query in the data source view to
C. You should create a data source view named DsvCustomer which is associated with the Contoso data source and add the CustomerDetails table to the data
D. Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source and add the CustomerContact table to
E. You should create a data source view named DsvCustomer which is associated with the Contoso data source and create a named query in the data source view to
F. Create a data source view named DsvCustomerContact that is associated with the ContosoCRM data source
Answer: A

Q: 8 You are the administrator of your company network. You use SQL Server 2008 to develop a Business Intelligence (BI) solution.A SQL Server 2008 Analysis Services (SSAS) solution includes a cube that has the following objects: Measures named TotalSales and InternetSalesDimensions named DimCustomer, DimProduct, and DimGeographyBy authenticating with their Windows accounts, users run reports against all dimensions and measures.You have to offer the users a basic view of data to display only DimGeography, DimProduct, and TotalSales while using as little storage space as possible. So what should you do?
A. You should create a new cube. Add DimGeography, DimProduct, and TotalSales.
B. You should create a new role. Grant access only to DimGeography, DimProduct, and TotalSales.
C. You should create a new data source view. Add the tables used for DimGeography, DimProduct, and TotalSales.
D. You should create a new perspective for the current cube. Select DimGeography, DimProduct, and TotalSales.
Answer: D

Q: 9 You are the administrator of your company network. You use SQL Server 2008 to develop a Business Intelligence (BI) solution. You work out a SQL Server 2008 Analysis Services (SSAS) solution which includes a cube that has a cube that has a measure named SellAmount. Customer sales data for the last five months is stored in the measure. The cube has a single partition which has the storage property set to real-time hybrid online analytical processing (HOLAP). Queries against the cube must return current sales data that is entered one hour before cube processing. The partition takes more than two hours to process and the queries make response slowly. So what should you do to improve the cube processing and query response time?
A. You should modify the storage setting of the partition to multidimensional online analytical processing (MOLAP).
B. You should modify the storage setting of the partition to real-time relational online analytical processing (ROLAP).
C. You should create a partition for each customer and set the storage setting of every partition to low-latency multidimensional online analytical processing
D. You should create a partition for every month and set the storage setting of the partition for the current month to low-latency multidimensional online analytical
Answer: D

Q: 10 You are the administrator of your company network. You use SQL Server 2008 to develop a Business Intelligence (BI) solution. You use SQL Server 2008 to work out a SQL Server 2008 Analysis Services (SSAS) solution. A source database which contains a table named Client is utilized in the solution. And the Client table contains lots ofcolumns. You have read-only access to the database. You intend to cut down the number of columns in the Client table. You have to split the Client table to be distributed across multiple table definitions. So what should you do?
A. You should create multiple data sources for the SSAS solution.
B. You should create multiple named queries for the SSAS solution.
C. You should create multiple database views for the source database.
D. You should create multiple data source views for the SSAS solution.
Answer: B

Tuesday, July 14, 2009

Free Sample Questions 70-562(CSharp), 70-562 braindumps, 70-562 study guide, 70-562 ebook

Microsoft 70-562(CSharp) Exam - Cheat-Test.com

Free 70-562(CSharp) Sample Questions:


Q: 1 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
The application must redirect the original URL to a different ASPX page. You must make sure that after the page is executed, the users cannot view the original URL. Besides this, you must make sure that only one request from the client browser is required by each page execution requires. So what action should you perform to achieve the two goals?
A. You should transfer execution to the correct ASPX page by using the HttpContext.Current.RewritePath method.
B. Add the Location: new URL value to the Response.Headers collection. Call the Response.End() statement.
Send the header to the client computer to transfer execution to the correct ASPX page.
C. You should transfer execution to the correct ASPX page by using the Server.Transfer method.
D. You should transfer execution to the correct ASPX page by using the Response.Redirect method.
Answer: A

Q: 2 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. A Web page is created. The Web page contains the following two XML fragments. (Line numbers are used for reference only.)
1

4

8
9
10
11 Text='<%# Eval("WireAmount") %>' />
12
13

From a Microsoft SQL Server 2005 database table which has a column named WireAmount , the SqlDataSource1 object retrieves the data. Now you receive an order from your company CIO, according to his requirement, the column must be displayed in red color when the size of the WireAmount column value is greater than seven characters. The CIO assigns this task to you that you must make sure of this. So what action should you perform?
A. Insert the following code segment at line 06. OnDataBound="FmtClr" Insert the following code segment at line 02. protected void FmtClr(object sender, EventArgs e){ Label WireAmount = new Label(); WireAmount.ID = "WireAmountLabel"; if ( WireAmount.Text.Length > 7)
{WireAmount.ForeColor = Color.Red; } else {WireAmount.ForeColor = Color.Black; }}
B. Insert the following code segment at line 06. OnItemDataBound="FmtClr" Insert the following code segment at line 02. protected void FmtClr(object sender, ListViewItemEventArgs e){ Label WireAmount = (Label) e.Item.FindControl("WireAmountLabel"); if ( WireAmount.Text.Length > 7) { WireAmount.ForeColor = Color.Red; } else {WireAmount.ForeColor = Color.Black; }}
C. Insert the following code segment at line 06. OnItemDataBound="FmtClr" Insert the following code segment at line 02. protected void FmtClr(object sender, ListViewItemEventArgs e){ Label WireAmount = (Label) e.Item.FindControl("WireAmount"); if ( WireAmount.Text.Length > 7)
{WireAmount.ForeColor = Color.Red; } else {WireAmount.ForeColor = Color.Black; } }
D. Insert the following code segment at line 06. OnDataBinding="FmtClr" Insert the following code segment at line 02. protected void FmtClr(object sender, EventArgs e){ Label WireAmount = new Label(); WireAmount.ID = "WireAmount"; if ( WireAmount.Text.Length > 7)
{WireAmount.ForeColor = Color.Red; } else { WireAmount.ForeColor = Color.Black; }}
Answer: B

Q: 3 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. Two user controls are created by you. They are respectivley named UCtrlA.ascx and UCtrlB.ascx. The user controls postback to the server.
You create a new Web page that has the following ASPX code. You create a new Web page that has the following ASPX code.


You write the following code segment for the Web page for dynamically creating the user controls.
public void LoadControls()
{
if (ViewState["CtrlA"] != null)
{
Control c;
if ((bool)ViewState["CtrlA"] == true)
{ c = LoadControl("UCtrlA.ascx"); }
else
{ c = LoadControl("UCtrlB.ascx"); }
c.ID = "Ctrl";
PlHolder.Controls.Add(c);
}
}
protected void Chk_CheckedChanged(object sender, EventArgs e)
{
ViewState["CtrlA"] = Chk.Checked;
PlHolder.Controls.Clear();
LoadControls();
}
According to the requirement of the company CIO, the user control that is displayed must be recreated during postback and retains its state. You have been assigned this task to make sure of this.
Which method should be added to the Web page?
A. protected override void OnLoadComplete(EventArgs e){ base.OnLoadComplete(e); LoadControls();}
B. protected override object SaveViewState(){ LoadControls(); return base.SaveViewState();}
C. protected override void LoadViewState(object savedState){ base.LoadViewState(savedState); LoadControls();}
D. protected override void Render(HtmlTextWriter writer){ LoadControls(); base.Render(writer);}
Answer: C

Q: 4 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
You write the code fragment below. (Line numbers are used for reference only.)
1

6
7

8
9
Now you receive an e-mail from your company CIO, according to his requirement, the error message must also be displayed in the validation summary list if it is displayed in the validation control.
The company CIO assigns this task to you. So what should you do to make sure of this?
A. The following code segment should be added to line 04. ErrorMessage="Required text in TextBox1"
B. The following code segment should be added to line 06. Required text in TextBox1
C. The following code segment should be added to line 04. Text="Required text in TextBox1" ErrorMessage="ValidationSummary1"
D. The following code segment should be added to line 04. Text="Required text in TextBox1"
Answer: A

Q: 5 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
You write the code fragment below.





You must make sure that when you click the Button1 control, a selected list of items move from the ListBox1 control to the ListBox2 control when you click the Button1 control.
Of the following code segments, which one should be used?
A. foreach (ListItem li in ListBox1.Items) { if (li.Selected) { li.Selected = false; ListBox2.Items.Add(li);
ListBox1.Items.Remove(li); }}
B. foreach (ListItem li in ListBox1.Items) { if (li.Selected) { ListBox2.Items.Add(li);
ListBox1.Items.Remove(li); }}
C. foreach (ListItem li in ListBox1.Items) { if (li.Selected) { li.Selected = false; ListBox2.Items.Add(li);
}}foreach (ListItem li in ListBox1.Items) { if (ListBox2.Items.Contains(li))
ListBox1.Items.Remove(li);}
D. foreach (ListItem li in ListBox1.Items) { if (li.Selected) { li.Selected = false; ListBox2.Items.Add(li);
}}foreach (ListItem li in ListBox2.Items) { if (ListBox1.Items.Contains(li))
ListBox1.Items.Remove(li);}
Answer: D

Q: 6 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. You create a file named movies.xml that contains the following code fragment.











A Web form is added to the application.
You write the following code segment in the Web form. (Line numbers are used for reference only.)
1


2
6
7

According to the requirement of the company, you have to implement the XmlDataSource control to display the XML data in a TreeView control.
At line 6, which code segment should be inserted?
A.



B.


C.


D.


Answer: C

Q: 7 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. Look at the code fragment below.




You use the above code fragment to create a login Web form.
The login() client-side script is called to authenticate the user when a user clicks the btnLogin Button control. The credentials provided in the TextBox controls are used to call the client-side script.
Look at the following code fragment:
01


The above client-script code fragment is also added in the Web form by you. You configure the ASP.NET application to use Forms Authentication. The ASP.NET AJAX authentication service is activated in the Web.config file.
You must make sure that you can achieve this following two requirements: If authentication succeeds, the onLoginCompleted client-script function is called to notify the user; If authentication fails, the onLoginFailed client-script function is called to display an error message.
At line6, which code segment should be inserted?
A. var auth =
Sys.Services.AuthenticationService;auth.set_defaultLoginCompletedCallback(onLoginCompleted);try {
auth.login(username, password, false, null, null, null, null, null); }catch
(err) { onLoginFailed(err, null, null);}
B. var auth = Sys.Services.AuthenticationService; auth.login(username, password, false, null,
null,onLoginCompleted, onLoginFailed, null);
C. var auth = Sys.Services.AuthenticationService;try { var validCredentials = auth.login(username, password,
false, null, null, null, null, null); if (validCredentials)
onLoginCompleted(true, null, null); else onLoginCompleted(false, null, null);}catch (err) { onLoginFailed(err,
null, null);}
D. var auth = Sys.Services.AuthenticationService; auth.set_defaultFailedCallback(onLoginFailed);var
validCredentials = auth.login(username, password, false, null, null, null, null, null);if
(validCredentials)onLoginCompleted(true, null, null);elseonLoginCompleted(false, null, null);
Answer: B

Q: 8 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. You intend to add a custom parameter in the SqlDataSource control.
You write the following code fragment.







In order to create a custom parameter class, you write the following code segment.
public class DayParameter : Parameter {
}
You must make sure that the current date and time is returned by the custom parameter.
Of the following code segments, which code segment should be added to the DayParameter class?
A. protected override Parameter Clone(){ Parameter pm = new DayParameter(); pm.DefaultValue =
DateTime.Now; return pm;}
B. protected DayParameter(): base("Value", TypeCode.DateTime, DateTime.Now.ToString()){}
C. protected override void LoadViewState(object savedState){ ((StateBag)savedState).Add("Value",
DateTime.Now);}
D. protected override object Evaluate(HttpContext context, Control control) { return DateTime.Now;}
Answer: D

Q: 9 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application. The application contains a Web form file named TVReviews.aspx and has DetailsView control named DetailsView01. The TVReviews.aspx file connects to a LinqDataSource DataSource named LinqDataSource01. LinqDataSource01has a primary key named TVID.
The TVReviews.aspx file contains the following code fragment. (Line numbers are used for reference only.)
1
5
6
9
11
13
15

16
The company CIO assigns a task to you. According to his requirement, you must make sure that the users can insert and update content in the DetailsView1 control. Besides this, you have to prevent duplication of the link button controls for the Edit and New operations.
At line 3, which code segment should be inserted?
A. AllowPaging="true"AutoGenerateDeleteButton="false"AutoGenerateEditButton="true" AutoGenerateInsertButton=
B. AllowPaging="false"AutoGenerateRows="false"
C. AllowPaging="false"AutoGenerateDeleteButton="false"AutoGenerateEditButton="true" AutoGenerateInsertButton=
D. AllowPaging="true"AutoGenerateRows="false"DataKeyNames="IVID"
Answer: D

Q: 10 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application which contains a Web form with a Label control named lblPrice . You define the following class.
public class Product {
public decimal Price { get; set; }
}
Look at the XML fragment below. You access the fragment by using a StringReader variable named
xmlStream.

35

Now you get an e-mail from your company manager, the manager wants to view the price of the product, so you have to display the price of the product from the XML fragment in the lblPrice Label control.
Of the following code segments, which one should be used?
A. XmlSerializer xs = new XmlSerializer(typeof(Product));Product boughtProduct =
xs.Deserialize(xmlStream) as Product;lblPrice.Text = boughtProduct.Price.ToString();
B. XmlDocument xDoc = new XmlDocument();xDoc.Load(xmlStream);Product boughtProduct =
xDoc.OfType().First();lblPrice.Text = boughtProduct.Price.ToString();
C. DataTable dt = new DataTable();dt.ExtendedProperties.Add("Type",
"Product");dt.ReadXml(xmlStream);lblPrice.Text = dt.Rows[0]["Price"].ToString();
D. XmlReader xr = XmlReader.Create(xmlStream);Product boughtProduct =
xr.ReadContentAs(typeof(Product), null) as Product;lblPrice.Text = boughtProduct.Price.ToString();
Answer: A

Q: 11 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
You create a custom Web user control which will be compiled as a library. You name it JoinedControl. Look at the following code segment. (Line numbers are used for reference only.)
1 protected override void OnInit(EventArgs e)
2 {
3 base.OnInit(e);
4
5 }
You write the above code segment for the JoinedControl control.
In the ASP.NET application, all the master pages contain the following directive.
<%@ Master Language="C#" EnableViewState="false" %>
You must make sure that the state of the SharedControl control can persist on the pages that reference a master page.
At line 4, which code segment should be inserted?
A. Page.RegisterStartupScript("SharedControl","server");
B. Page.RegisterRequiresPostBack(this);
C. Page.UnregisterRequiresControlState(this);
D. Page.RegisterRequiresControlState(this);
Answer: D

Q: 12 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
You write the code fragment below:









According to the requirement of the company CIO, each Label control value must be asynchronously updatable when you click the btnSubmit Button control.
Of the following options, which code segment should be used?
A. protected void btnSubmit_Click(object sender, EventArgs e){ Label1.Text = "Label1 updated value";
Label2.Text = "Label2 updated value";
ScriptManager1.RegisterAsyncPostBackControl(Label3); Label3.Text = "Label3 updated value";}
B. protected void btnSubmit_Click(object sender, EventArgs e){ Label1.Text = "Label1 updated value";
Label2.Text = "Label2 updated value"; Label3.Text = "Label3 updated value";}
C. protected void btnSubmit_Click(object sender, EventArgs e){ Label1.Text = "Label1 updated value";
Label2.Text = "Label2 updated value"; ScriptManager1.RegisterDataItem(Label3,
"Label3 updated value");}
D. protected void btnSubmit_Click(object sender, EventArgs e){ ScriptManager1.RegisterDataItem(Label1,
"Label1 updated value"); ScriptManager1.RegisterDataItem(Label2, "Label2 updated
value"); Label3.Text = "Label3 updated value";}
Answer: C

Q: 13 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application which uses ASP.NET AJAX. According to the company requirement, this application has to be deployed in a Web farm environment. For the application, SessionState has to be configured. Which code fragment should you use?
A.
B.
C.
D.
Answer: C

Q: 14 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo.
You use the Microsoft .NET Framework version 3.5 to modify an existing Microsoft ASP.NET application. After a theme is added to the ASP.NET application, you have to apply the theme to override any settings of individual controls. What action should you perform?
A. A master page should be added to the application. The StyleSheetTheme attribute should be set to the name of the theme in the @Master directive.
B. A master page should be added to the application. The Theme attribute should be set to the name of the theme in the @Master directive.
C. You should set the Theme attribute of the pages element to the name of the theme in the Web.config file of the application.
D. You should set the StyleSheetTheme attribute of the pages element to the name of the theme in the Web.config file of the application.
Answer: C

Q: 15 You are an application developer and you have about two years experience in developing Web-based applications by using Microsoft ASP.NET. Now you are employed in a company named
Wiikigo. You use the Microsoft .NET Framework version 3.5 to create a Microsoft ASP.NET Web application.
A class is created by you. The class contains the following code segment. (Line numbers are used for reference only.)
1 public object GetCachedProducts(sqlConnection conn) {
2
3 if (Cache["products"] == null) {
4 SqlCommand cmd = new SqlCommand(
5 "SELECT * FROM Products", conn);
7 conn.Open();
8 Cache.Insert("products", GetData(cmd));
9 conn.Close();
10 }
11 return Cache["products"];
12 }
13
14 public object GetData(SqlCommand prodCmd) {
15
16 }
The GetCachedProducts method is called to provide this list from the Cache object once a Web form has to access a list of products.
According to the requirement of the company CIO, the list of products must be always available in the Cache object. You are asked to make sure of this.
At line 15, which code segment should be inserted?
A. return prodCmd.ExecuteReader();
B. SqlDataAdapter da = new SqlDataAdapter(prodCmd);DataSet ds = new DataSet();da.Fill(ds);return ds;
C. SqlDataReader dr;prodCmd.CommandTimeout = int.MaxValue;dr = prodCmd.ExecuteReader();return dr;
D. SqlDataAdapter da = new SqlDataAdapter();da.SelectCommand = prodCmd;DataSet ds = new
DataSet();return ds.Tables[0];
Answer: B

70-561 CSharp Free Exam Questions, Testking, Pass4sure, Cheat-test, Rapidshare

Microsoft 70-561(CSharp) Exam - Cheat-Test.com

Free 70-561(CSharp) Sample Questions:


1. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
You need to ensure that the application can connect to any type of database.
What should you do?
A. Set the database driver name in the connection string of the application, and then create the connection object in the following manner.
DbConnection connection = new OdbcConnection(connectionString);
B. Set the database provider name in the connection string of the application, and then create the
connection object in the following manner.
DbConnection connection = new OleDbConnection(connectionString);
C. Create the connection object in the following manner.
DbProviderFactory factory =
DbProviderFactories.GetFactory("System.Data.Odbc");
DbConnection connection = factory.CreateConnection();
D. Create the connection object in the following manner.
DbProviderFactory factory =
DbProviderFactories.GetFactory(databaseProviderName);
DbConnection connection = factory.CreateConnection();
Answer: D

2. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application connects to a Microsoft SQL Server 2005 database.
The application throws an exception when the SQL Connection object is used.
You need to handle the exception.
Which code segment should you use?
A. try
{
if(null!=conn)
conn.Close();
// code for the query
}
catch (Exception ex)
{
// handle exception
}
finally
{
if(null==conn)
conn.Open();
}
B. try
{
conn.Close();
// code for the query
}
catch (Exception ex)
{
// handle exception
}
finally
{
if(null!=conn)
conn.Open();
}
C. try
{
conn.Open();
// code for the query
}
catch (Exception ex)
{
// handle exception
}
finally
{
if(null!=conn)
conn.Close();
}
D. try
{
conn.Open();
// code for the query
}
catch (Exception ex)
{
// handle exception
}
finally
{
if(null==conn)
conn.Close();
}
Answer: C

3. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application connects to a Microsoft SQL Server 2005 database.
You need to separate the security-related exceptions from the other exceptions for database operations at run time.
Which code segment should you use?
A. catch (System.Security.SecurityException ex)
{
//Handle all database security related exceptions.
}
B. catch (System.Data.SqlClient.SqlException ex)
{
for (int i = 0; i < i =" 0;" number ="="" i =" 0;" querystring = "Select Name, Age from dbo.Table_1" command =" new" value =" command.ExecuteScalar();" requiredvalue =" value.ToString();" value =" command.ExecuteNonQuery();" requiredvalue =" value.ToString();" value =" command.ExecuteReader(CommandBehavior.SingleRow);" requiredvalue =" value[0].ToString();" value =" command.ExecuteReader(CommandBehavior.SingleRow);" requiredvalue =" value[1].ToString();" connection =" new" cmd =" new" sdrdr =" cmd.ExecuteReader();" sdrdr =" cmd.ExecuteReader(CommandBehavior.Default);" sdrdr =" cmd.ExecuteReader(CommandBehavior.SchemaOnly);" sdrdr =" cmd.ExecuteReader(CommandBehavior.SequentialAccess);" query = "Select EmpNo, EmpName from dbo.Table_1; select Name,Age from dbo.Table_2" command =" new" reader =" command.ExecuteReader();" col =" new" expression = "LineTotal/Quantity" expression = "LineTotal/ISNULL(Quantity, 1)" expression = "LineTotal.Value/ISNULL(Quantity.Value,1)" expression =" "> 0, LineTotal/Quantity, 0)";
Answer: D

8. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application contains a DataSet object named orderDS. The object contains a table named Order as shown in the following exhibit.

The application uses a SqlDataAdapter object named daOrder to populate the Order table.
You write the following code segment. (Line numbers are included for reference only.)
01 private void FillOrderTable(int pageIndex) {
02 int pageSize = 5;
03
04 }
You need to fill the Order table with the next set of 5 records for each increase in the pageIndex value.
Which code segment should you insert at line 03?
A. string sql = "SELECT SalesOrderID, CustomerID, OrderDate FROM
Sales.SalesOrderHeader";
daOrder.SelectCommand.CommandText = sql;
daOrder.Fill(orderDS, pageIndex, pageSize, "Order");
B. int startRecord = (pageIndex - 1) * pageSize;
string sql = "SELECT SalesOrderID, CustomerID, OrderDate FROM
Sales.SalesOrderHeader";
daOrder.SelectCommand.CommandText = sql;
daOrder.Fill(orderDS, startRecord, pageSize, "Order");
C. string sql = string.Format("SELECT TOP {0} SalesOrderID,
customerID,
orderDate FROM Sales.SalesOrderHeader WHERE SalesOrderID > {1}",
pageSize, pageIndex);
daOrder.SelectCommand.CommandText = sql;
daOrder.Fill(orderDS, "Order");
D. int startRecord = (pageIndex - 1) * pageSize;
string sql = string.Format("SELECT TOP {0} SalesOrderID, CustomerID,
orderDate FROM Sales.SalesOrderHeader WHERE SalesOrderID > {1}",
pageSize, startRecord);
daOrder.SelectCommand.CommandText = sql;
daOrder.Fill(orderDS, "Order");
Answer: B

9. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application contains a TextBox control named txtProductID. The application will return a list of active products that have the ProductID field equal to the txtProductID.Text property.
You write the following code segment. (Line numbers are included 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 while avoiding possible SQL injection attacks.
Which code segment should you insert at line 06?
A. cmd.CommandText = string.Format("sp_sqlexec 'SELECT ProductID,
Name FROM Product WHERE ProductID={0} AND IsActive=1'", txtProductID.Text);
B. cmd.CommandText = string.Format("SELECT ProductID, Name FROM
Product WHERE ProductID={0} AND IsActive=1", txtProductID.Text);
cmd.Prepare();
C. cmd.CommandText = string.Format("SELECT ProductID, Name FROM
Product WHERE ProductID={0} AND IsActive=1", txtProductID.Text);
cmd.CommandType = CommandType.TableDirect;
D. cmd.CommandText = "SELECT ProductID, Name FROM Product WHERE
ProductID=@productID AND IsActive=1";
cmd.Parameters.AddWithValue("@productID", txtProductID.Text);
Answer: D

10. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application connects to a Microsoft SQL Server 2005 database.
The application analyzes large amounts of transaction data that are stored in a different database.
You write the following code segment. (Line numbers are included for reference only.)
01 using (SqlConnection connection = new
SqlConnection(sourceConnectionString))
02 using (SqlConnection connection2 = new
SqlConnection(destinationConnectionString))
03 using (SqlCommand command = new SqlCommand())
04 {
05 connection.Open();
06 connection2.Open();
07 using (SqlDataReader reader = command.ExecuteReader())
08 {
09 using (SqlBulkCopy bulkCopy = new
SqlBulkCopy(connection2))
10 {
11
12 }
13 }
14 }
You need to copy the transaction data to the database of the application.
Which code segment should you insert at line 11?
A. reader.Read()
bulkCopy.WriteToServer(reader);
B. bulkCopy.DestinationTableName = "Transactions";
bulkCopy.WriteToServer(reader);
C. bulkCopy.DestinationTableName = "Transactions";
bulkCopy.SqlRowsCopied += new
SqlRowsCopiedEventHandler(bulkCopy_SqlRowsCopied);
D. while (reader.Read())
{
bulkCopy.WriteToServer(reader);
}
Answer: B

11. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application uses Microsoft SQL Server 2005.
You write the following code segment. (Line numbers are included for reference only.)
01 String myConnString = "User
02 ID=;password=
;Initial
03 Catalog=pubs;Data Source=myServer";
04 SqlConnection myConnection = new
05 SqlConnection(myConnString);
06 SqlCommand myCommand = new SqlCommand();
07 DbDataReader myReader;
08 myCommand.CommandType =
09 commandType.Text;
10 myCommand.Connection = myConnection;
11 myCommand.CommandText = "Select * from Table1;
Select * from Table2;";
12 int RecordCount = 0;
13 try
14 {
15 myConnection.Open();
16
17 }
18 catch (Exception ex)
19 {
20 }
21 finally
22 {
23 myConnection.Close();
24 }
You need to compute the total number of records processed by the Select queries in the RecordCount variable.
Which code segment should you insert at line 16?
A. myReader = myCommand.ExecuteReader();
RecordCount = myReader.RecordsAffected;
B. while (myReader.Read())
{
//Write logic to process data for the first result.
}
RecordCount = myReader.RecordsAffected;
C. while (myReader.HasRows)
{
while (myReader.Read())
{
//Write logic to process data for the second result.
RecordCount = RecordCount + 1;
myReader.NextResult();
}
}
D. while (myReader.HasRows)
{
while (myReader.Read())
{
//Write logic to process data for the second result.
RecordCount = RecordCount + 1;
}
myReader.NextResult();
}
Answer: D

12. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application uses data from a Microsoft SQL Server 2005 database table. A Web page of the application contains a GridView server control.
You write the following code segment. (Line numbers are included for reference only.)
01 private void LoadGrid()
02 {
03 using (SqlCommand command = new SqlCommand())
04 {
05 command.Connection = connection;
06 command.CommandText = "SELECT * FROM Customers";
07 connection.Open();
08
09 }
10 }
You need to retrieve the data from the database table and bind the data to the DataSource property of the GridView server control.
Which code segment should you insert at line 08?
A. SqlDataReader rdr = command.ExecuteReader();
connection.Close();
GridView1.DataSource = rdr;
GridView1.DataBind();
B. SqlDataReader rdr = command.ExecuteReader();
GridView1.DataSource = rdr.Read();
GridView1.DataBind();
connection.Close();
C. SqlDataReader rdr = command.ExecuteReader();
Object[] values = new Object[rdr.FieldCount];
GridView1.DataSource = rdr.GetValues(values);
GridView1.DataBind();
connection.Close();
D. DataTable dt = new DataTable();
using (SqlDataReader reader = command.ExecuteReader())
{
dt.Load(reader);
}
connection.Close();
GridView1.DataSource = dt;
GridView1.DataBind();
Answer: D

13. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application contains a DataSet object named OrderDS that has the Order and OrderDetail tables as shown in the following exhibit.

You write the following code segment. (Line numbers are included for reference only.)
01 private void GetOrders(SqlDataConnection cn) {
02 SqlCommand cmd = cn.CreateCommand();
03 cmd.CommandText = "Select * from [Order];
Select * from [OrderDetail];";
04 SqlDataAdapter da = new SqlDataAdapter(cmd);
05
06 }
You need to ensure that the Order and the OrderDetail tables are populated.
Which code segment should you insert at line 05?
A. da.Fill(OrderDS);
B. da.Fill(OrderDS.Order);
da.Fill(OrderDS.OrderDetail);
C. da.TableMappings.AddRange(new DataTableMapping[] {
new DataTableMapping("Table", "Order"),
new DataTableMapping("Table1", "OrderDetail")});
da.Fill(OrderDS);
D. DataTableMapping mapOrder = new DataTableMapping();
mapOrder.DataSetTable = "Order";
DataTableMapping mapOrderDetail = new DataTableMapping();
mapOrder.DataSetTable = "OrderDetail";
da.TableMappings.AddRange(new DataTableMapping[]
{ mapOrder, mapOrderDetail });
Da.Fill(OrderDS);
Answer: C

14. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application contains a SqlDataAdapter object named daOrder. The SelectCommand property of the daOrder object is set.
You write the following code segment. (Line numbers are included for reference only.)
01 private void ModifyDataAdapter() {
02
03 }
You need to ensure that the daOrder object can also handle updates.
Which code segment should you insert at line 02?
A. SqlCommandBuilder cb = new SqlCommandBuilder(daOrder);
cb.RefreshSchema();
B. SqlCommandBuilder cb = new SqlCommandBuilder(daOrder);
cb.SetAllValues = true;
C. SqlCommandBuilder cb = new SqlCommandBuilder(daOrder);
daOrder.DeleteCommand = cb.GetDeleteCommand();
daOrder.InsertCommand = cb.GetInsertCommand();
daOrder.UpdateCommand = cb.GetUpdateCommand();
D. SqlCommandBuilder cb = new SqlCommandBuilder(daOrder);
cb.RefreshSchema();
cb.GetDeleteCommand();
cb.GetInsertCommand();
cb.GetUpdateCommand();
Answer: C

15. You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET. The application connects to a Microsoft SQL Server 2005 database.
The connection string of the application is defined in the following manner.
"Server=Prod;Database=WingtipToys;Integrated
Security=SSPI;Asynchronous Processing=true"
The application contains the following code segment. (Line numbers are included for reference only.)
01 protected void UpdateData(SqlCommand cmd) {
02 cmd.Connection.Open();
03
04 lblResult.Text = "Updating ...";
05 }
The cmd object takes a long time to execute.
You need to ensure that the application continues to execute while cmd is executing.
What should you do?
A. Insert the following code segment at line 03.
cmd.BeginExecuteNonQuery(new AsyncCallback(UpdateComplete), cmd);
Add the following code segment.
private void UpdateComplete (IAsyncResult ar) {
int count = (int)ar.AsyncState;
LogResults(count);
}
B. Insert the following code segment at line 03.
cmd.BeginExecuteNonQuery(new AsyncCallback(UpdateComplete), cmd);
Add the following code segment.
private void UpdateComplete (IAsyncResult ar) {
SqlCommand cmd = (SqlCommand)ar.AsyncState;
int count = cmd.EndExecuteNonQuery(ar);
LogResults(count);
}
C. Insert the following code segment at line 03.
cmd.StatementCompleted += new
StatementCompletedEventHandler(UpdateComplete);
cmd.ExecuteNonQuery();
Add the following code segment.
private void UpdateComplete (object sender, StatementCompletedEventArgs e) {
int count = e.RecordCount;
LogResults(count);
}
D. Insert the following code segment at line 03.
SqlNotificationRequest notification = new
SqlNotificationRequest("UpdateComplete", "", 10000);
cmd.Notification = notification;
cmd.ExecuteNonQuery();
Add the following code segment.
private void UpdateComplete(SqlNotificationRequest notice) {
int count = int.Parse(notice.UserData);
LogResults(count);
}
Answer: B

Saturday, July 11, 2009

070-433 TS:Microsoft SQL Server 2008, Database Development


Microsoft 70-433 Exam - Cheat-Test.com

Free 70-433 Sample Questions:

Q: 1 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. This morning you receive an e-mail from your company manager, in the e-mail, the manager asks you to create a table which is named dbo.Devices. Five rows have to be inserted into the dbo.Devices table. After this, DeviceID has to be returned for each of the rows. Of the following Transact-SQL batches, which one should be used?
A. CREATE TABLE dbo.Widgets ( WidgetID UNIQUEIDENTIFIER PRIMARY KEY, WidgetName
VARCHAR(25) );GOINSERT dbo.Widgets (WidgetName)VALUES
('WidgetOne'),('WidgetTwo'),('WidgetThree'),('WidgetFour'),('WidgetFive');SELECT SCOPE_IDENTITY();
B. CREATE TABLE dbo.Widgets ( WidgetID INT IDENTITY PRIMARY KEY, WidgetName
VARCHAR(25) );GOINSERT dbo.Widgets (WidgetName)VALUES
('WidgetOne'),('WidgetTwo'),('WidgetThree'),('WidgetFour'),('WidgetFive');SELECT SCOPE_IDENTITY();
C. CREATE TABLE dbo.Widgets ( WidgetID UNIQUEIDENTIFIER PRIMARY KEY, WidgetName
VARCHAR(25));GOINSERT dbo.Widgets (WidgetName)OUTPUT inserted.WidgetID,
inserted.WidgetNameVALUES ('WidgetOne'),('WidgetTwo'),('WidgetThree'),('WidgetFour'),('WidgetFive');
D. CREATE TABLE dbo.Widgets ( WidgetID INT IDENTITY PRIMARY KEY, WidgetName
VARCHAR(25));GOINSERT dbo.Widgets (WidgetName)OUTPUT inserted.WidgetID,
inserted.WidgetNameVALUES ('WidgetOne'),('WidgetTwo'),('WidgetThree'),('WidgetFour'),('WidgetFive');
Answer: D

Q: 2 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. The SQL Server has identified many missing indexes. Now you have to build CREATE INDEX statements for all the missing indexes.
Which dynamic management view should be used?
A. sys.dm_db_index_usage_stats should be used
B. sys.dm_db_missing_index_group_stats should be used
C. sys.dm_db_missing_index_details should be used
D. sys.dm_db_missing_index_columns should be used
Answer: B

Q: 3 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses
SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Look at code segment below:
DECLARE @RangeStart INT = 0;
DECLARE @RangeEnd INT = 8000;
DECLARE @RangeStep INT = 1;
WITH NumberRange(ItemValue)
AS (SELECT ItemValue
FROM (SELECT @RangeStart AS ItemValue) AS t
UNION ALL
SELECT ItemValue + @RangeStep
FROM NumberRange
WHERE ItemValue < @RangeEnd)
SELECT ItemValue
FROM NumberRange
OPTION (MAXRECURSION 100)
Do you know the result of executing this code segment? Which result will be returned?
A. 101 rows will be returned with a maximum recursion error.
B. 10,001 rows will be returned with a maximum recursion error
C. 101 rows will be returned with no error
D. 10,001 rows will be returned with no error
Answer: A

Q: 4 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses
SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There is a table named dbo.Sellings in the database. The table contains the following table definition:
CREATE TABLE [dbo].[Selling](
[SellingID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
[OrderDate] [datetime] NOT NULL,
[CustomerID] [int] NOT NULL,
[SellingPersonID] [int] NULL,
[CommentDate] [date] NULL);
Since you notice that this query takes a long time to run, you start to examine the data. You find that only 2% of rows have comment dates and the SellingPersonID is null on 10% of the rows after the examination. So you have to improve the query performance. You have to create an index which must save disk space when optimize the query.
Of the following index, which one should you choose?
A. CREATE NONCLUSTERED INDEX idx2 ON dbo.Selling (CommentDate, SellingPersonID)
INCLUDE(CustomerID)WHERE CommentDate IS NOT NULL
B. CREATE NONCLUSTERED INDEX idx2ON dbo.Selling (CustomerID)INCLUDE
(CommentDate,SellingPersonID);
C. CREATE NONCLUSTERED INDEX idx2ON dbo.Selling (SellingPersonID)INCLUDE
(CommentDate,CustomerID);
D. CREATE NONCLUSTERED INDEX idx2ON dbo.Selling
(CustomerID)INCLUDE(CommentDate)WHERE SellingPersonID IS NOT NULL
Answer: A

Q: 5 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database which is named DB1. There is a table named Bill in DB1. BillID is the primary key of the Bill table. By using the identity property, it is populated. The Bill table and the BillLineItem are related to each other. In order to increase load speed, all constraints are removed from the Bill table during a data load. But a row with BillId = 10 was removed from the database when you removed the constraints. Therefore you have to re-insert the row into the Bill table with the same BillId value. Of the following options, which Transact-SQL statement should be used?
A. INSERT INTO Bill(BillID, ...VALUES (10, ...
B. SET IDENTITY_INSERT BillON;INSERT INTO Bill(BillID, ...VALUES (10, ...SET IDENTITY_INSERT BillOFF;
C. ALTER TABLEBill;ALTER COLUMN BillID int;INSERT INTO Bill(BillID, ...VALUES (10, ...
D. ALTER DATABASE DB1SET SINGLE_USER;INSERT INTO Bill(BillID, ...VALUES (10, ...ALTER DATABASE DB1SET MULTI_USER;
Answer: B

Q: 6 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There are two tables in the company database. One table is named Subitems which includes subitems for shoes, hats and shirts.
Another one is named Commodities which includes commodities only from the Subitems shoes and hats.
Look at the following query:
SELECT s.Name, p.Name AS CommodityName
FROM Subitems s
OUTER APPLY
(SELECT *
FROM Commodities pr
WHERE pr.SubitemID = s.SubitemID) p
WHERE s.Name IS NOT NULL;
Now you have to foretell what results the query produces. So what is the answer?
A. Name CommodityName---------- --------------------Shoes Mountain Bike Shoes,Shoes Mountain Bike Shoes,Shoes Racing Shoes, MShoes Racing Shoes, LHats ClassicHat, SHats ClassicHat, MHats ClassicHat, LNULL Mountain Bike Shoes,NULL Mountain Bike Shoes,NULL
Racing Shoes, MNULL Racing Shoes, LNULL ClassicHat, SNULL
ClassicHat, MNULL ClassicHat, LShirts NULLNULL NULL
B. Name CommodityName---------- --------------------Shoes Mountain Bike Shoes,Shoes Mountain Bike Shoes,Shoes Racing Shoes, MShoes Racing Shoes, LHats ClassicHat, SHats ClassicHat, MHats ClassicHat, L
C. Name CommodityName---------- --------------------Shoes Mountain Bike Shoes,Shoes Mountain Bike Shoes,Shoes Racing Shoes, MShoes Racing Shoes, LHats ClassicHat, SHats ClassicHat, MHats ClassicHat, LShirts NULL
D. Name CommodityName---------- --------------------Shoes Mountain Bike Shoes,Shoes Mountain Bike Shoes,Shoes Racing Shoes, MShoes Racing Shoes, LHats ClassicHat, SHats ClassicHat, MHats ClassicHat, LShirts NULLNULL NULL
Answer: C

Q: 7 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There are two tables in the database of the company. The two tables are respectively named Sellings and SellingsHistory. Historical selling data is stored in the SellingsHistory table. On the Sellings table, you perform the configuration of Change Tracking. The minimum valid version of the Sellings table is 10. There is selling data that changed since version 10. According to the company requirement, a query has to be written to export only these data, including the primary key of deleted rows. Of the following methods, which one should be use?
A. FROM Sellings INNER JOIN CHANGETABLE (CHANGES Sellings, 10) AS C ...
B. FROM Sellings RIGHT JOIN CHANGETABLE (CHANGES Sellings, 10) AS C ...
C. FROM Sellings RIGHT JOIN CHANGETABLE (CHANGES SellingsHistory, 10) AS C ...
D. FROM Sellings INNER JOIN CHANGETABLE (CHANGES SellingsHistory, 10) AS C ...
Answer: B

Q: 8 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There are two tables in the database of the company. The two tables are respectively named Clients and Bills. Now you get an e-mail from your company manager, you've been assigned a task that you have to write a SELECT statement. The statement should output client and bill data as a valid and well-formed XML document. You have to mix attribute and element based XML within the document. But you think that it is not proper to use the FOR XML AUTO clause. You have to find the suitable FOR XML clause.
Of the following FOR XML statement, which one should be used? (choose more than one)
A. FOR XML PATH should be used
B. FOR BROWSE should be used
C. FOR XML EXPLICIT should be used
D. FOR XML RAW should be used
Answer: A, C

Q: 9 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There's a table named Clients in the database. The Clients table contains an XML column which is named ClientInfo. At present the Client table contains no indexes. Look at the WHERE clause below:
WHERE ClientInfo.exist ('/ClientDemographic/@Age[.>="21"]') = 1
You use this clause in a query for which indexes have to be created. Of the following Transact-SQL
statements, which one should be used?
A. CREATE PRIMARY XML INDEX PXML_IDX_ClientON Clients(ClientInfo);CREATE XML INDEX
SXML_IDX_Client ON Client(ClientInfo)USING XML INDEX PXML_IDX_ClientFOR VALUE;
B. CREATE PRIMARY XML INDEX PXML_IDX_ClientON Clients(ClientInfo);CREATE XML INDEX
SXML_IDX_Client ON Client(ClientInfo)USING XML INDEX PXML_IDX_ClientFOR PATH;
C. CREATE CLUSTERED INDEX CL_IDX_Client ON Clients(ClientID);CREATE PRIMARY XML
INDEX PXML_IDX_ClientON Clients(ClientInfo);CREATE XML INDEX SXML_IDX_Client_Property ON
Client(ClientInfo)USING XML INDEX PXML_IDX_ClientFOR VALUE;
D. CREATE CLUSTERED INDEX CL_IDX_Client ON Clients(ClientID);CREATE PRIMARY XML
INDEX PXML_IDX_ClientON Clients(ClientInfo);CREATE XML INDEX SXML_IDX_Client ON
Client(ClientInfo)USING XML INDEX PXML_IDX_ClientFOR PATH;
Answer: D

Q: 10 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There are two tables in the company database. The two tables are respectively named Bill and BillData. Bill information is stored in the two tables. The Bill table relates to the BillData table through the BillID column of each table. In the Bill table there is a column which is named LatestModifiedDate. If the related bill in the BillData table is modified, you must make sure that the LatestModifiedDate column must reflect the data and time of the modification. So you have to create a trigger. Of the following Transact-SQL statement, which one should be used?
A. CREATE TRIGGER [uModDate] ON [Bill]AFTER UPDATE FOR REPLICATION AS UPDATE [Bill]
SET [LatestModifiedDate] = GETDATE() FROM inserted WHERE inserted.[BillID] = [Bill].[BillID]
B. CREATE TRIGGER [uModDate] ON [BillDetails]INSTEAD OF UPDATE FOR REPLICATIONAS
UPDATE [Bill] SET [LatestModifiedDate] = GETDATE() FROM inserted WHERE inserted.[BillID] = [Bill].[BillID];
C. CREATE TRIGGER [uModDate] ON [BillDetails] AFTER UPDATE NOT FOR REPLICATION AS
UPDATE [Bill] SET [LatestModifiedDate] = GETDATE() FROM inserted WHERE inserted.[BillID] = [Bill].[BillID];
D. CREATE TRIGGER [uModDate] ON [Bill]INSTEAD OF UPDATE NOT FOR REPLICATIONAS
UPDATE [Bill] SET [LatestModifiedDate] = GETDATE() FROM inserted WHERE inserted.[BillID] = [Bill].[BillID];
Answer: C

Q: 11 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There's a table which is named Essays.
The Essays table contains two columns respectively named EssayHead and Detail. The two columns all contain a full-text index. The word "technology" may be in column EssayHead or in column Detail. You have to return row from the Essay table. Of the following code segments, which one should be used?
A. SELECT * FROM Books WHERE FREETEXT(BookTitle,'computer')
B. SELECT * FROM Books WHERE FREETEXT(*,'computer')
C. SELECT * FROM Books WHERE BookTitle LIKE '%computer%'
D. SELECT * FROM Books WHERE BookTitle = '%computer%' OR Description = '%computer%'
Answer: B

Q: 12 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Look at the following query.
SELECT AddressId,
AddressLine1,
City,
PostalCode
FROM Person.Address
WHERE City = @city_name
AND PostalCode = @postal_code
You notice that for a particular set of parameter values, sometimes this query has an unstable performance, sometimes it runs quickly while sometimes it executes slowly.
You also notice that in the Address table, 92 percent of the rows contain the same value for the city.
You have to improve the query performance. For the particular set of parameter values, you have to identify a query hint which will optimize the query.
Which query hint should be used?
A. OPTIMIZE FOR should be used
B. FAST should be used
C. PARAMETERIZATION FORCED should be used
D. MAXDOP should be used
Answer: A

Q: 13 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Now you get an order from the company manger. The company manager assigns a task to you that you have to perform the configuration on the Service Broker, making it process messages within a single database. You have completed three steps: CREATE MESSAGE TYPE; CREATE CONTRACT; CREATE QUEUE. After the above three steps, you have to complete the confifuration. So what is the next step?
A. CREATE ROUTE is the next step.
B. CREATE SERVICE is the next step
C. CREATE ENDPOINT is the next step
D. CREATE BROKER PRIORITY is the next step.
Answer: B

Q: 14 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. You manage a SQL Server 2008 database of the company. Now you get an e-mail from your company manager, in the e-mail, you have been assigned a task. You have to send e-mail from a stored procedure. But when you start to perform this, you notice that that a MAPI client has not been installed. In the following options, which system stored procedure should be used?
A. sysmail_start_sp should be used.
B. xp_sendmail should be used
C. xp_startmail should be used.
D. sp_send_dbmail should be used
Answer: D

Q: 15 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Now you get an email from your company, in the email, you're assigned a task. You have to configure Full-Text Search, making it ingnore specific words. So of the following Full-Text Search components, which one should be used?
A. iFilter should be used
B. Thesaurus file should be used
C. Word breakers should be used.
D. Stoplist should be used.
Answer: D

Q: 16 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. There is a table which is named Item.
Look at the following location:
PS
SQLSERVER:\SQL\CONTOSO\DEFAULT\Databases\ReportServer\Tables\dbo.Inventory\Columns>
At this location, you use the SQL Server Windows PowerShell provider to open a Microsoft Windows PowerShell session. You have to query all the columns in Item table using the e SQL Server Windows PowerShell provider. Of the following options, which cmdlet should be used?
A. Get-ChildItem should be used
B. Get-ItemProperty should be used
C. Get-Item should be used
D. Get-Location should be used
Answer: A

Q: 17 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Enterprise Edition and all the company data is stored in the SQL Server 2008 database. There's a table named Modifications. The data is the table is frequently modified. According to the company requirement, you have to maintain a history of all data modifications, the type of modification and the values modified also have to be kept. Of the following tracking methods, which one should you use?
A. C2 Audit Tracing
B. Change Data Capture
C. Database Audit
D. Change Trackin
Answer: B

Q: 18 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses
SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. You insert the WorkerID of each Worker's manager in the ReportsTo column to document your company's organizational hierarchy.
You have to write a recursive query. The query should produce a list of Workers and their manager and include the Worker's level in the hierarchy.
You write the following code segment. (Line numbers are used for reference only.)
1 WITH WorkerList (WorkerID, FullName, ManagerName, Level)
2 AS (
3
4 )
5 SELECT WorkerID, FullName, ManagerName, Level
6 FROM WorkerList;
At line 3, which code segment should you insert?
A. SELECT WorkerID, FullName, '' AS [ReportsTo], 1 AS [Level] FROM Worker WHERE ReportsTo IS
NULL UNION ALL SELECT emp.WorkerID, emp.FullNName
mgr.FullName, 1 + 1 AS [Level] FROM Worker emp JOIN Worker mgr ON emp.ReportsTo = mgr.WorkerID
B. SELECT WorkerID, FullName, '' AS [ReportsTo], 1 AS [Level] FROM Worker WHERE ReportsTo IS
NULL UNION ALL SELECT emp.WorkerID, emp.FullName,
mgr.FullName, mgr.Level + 1 FROM WorkerList mgr JOIN Worker emp ON emp.ReportsTo = mgr.WorkerId
C. SELECT WorkerID, FullName, '' AS [Reports To], 1 AS [Level] FROM Worker UNION ALL SELECT
emp.WorkerID, emp.FullName, mgr.FullName, 1 + 1 AS
[Level] FROM Worker emp LEFT JOIN Worker mgr ON emp.ReportsTo = mgr.WorkerID
D. SELECT WorkerID, FullName, '' AS [ReportsTo], 1 AS [Level] FROM Worker UNION ALL SELECT
emp.WorkerID, emp.FullName, mgr.FullName, mgr.Level + 1
FROM WorkerList mgr JOIN Worker emp ON emp.ReportsTo = mgr.WorkerID
Answer: B

Q: 19 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Sales information for your company orders is stored in this database. According to the company requirement, a common table expression (CTE) has to be implemented. In the options below, which code segment should be used?
A. SELECT Year, Region, Total FROM (SELECT Year, Region, SUM(OrderTotal) AS Total FROM Orders
GROUP BY Year, Region) AS [SalesByYear];
B. SELECT DISTINCT Year, Region, (SELECT SUM(OrderTotal) FROM Orders SalesByYear WHERE
Orders.Year = SalesByYear.YEAR
AND Orders.Region = SalesByYear.Region) AS [Total] FROM Orders;
C. CREATE VIEW SalesByYear AS SELECT Year, Region, SUM(OrderTotal) FROM Orders GROUP BY
Year, Region; GO SELECT Year, Region, Total FROM
SalesByYear;
D. WITH SalesByYear(Year,Region,Total) AS (SELECT Year, Region, SUM(OrderTotal) FROM Orders
GROUP BY Year,Region) SELECT Year, Region, Total FROM
SalesByYear;
Answer: D

Q: 20 You are a database developer and you have many years experience in database development. Now you are employed in a company which is named Loxgo. The company uses SQL Server 2008 and all the company data is stored in the SQL Server 2008 database. Sales information for your company orders is stored in this database. According to the requirement for marketing analysis, your company wants you to identify the orders with the highest average unit price and an order total greater than 8,000. There should be less than 30 orders in the list. Of the follow queries, which one should you use?
A. SELECT TOP (30) o.SalesOrderId, o.OrderDate, o.Total, SUM(od.Qty * od.UnitPrice) / SUM(od.Qty) AS
[AvgUnitPrice]FROM Sales.SalesOrderHeader o JOIN Sales.SalesOrderDetail
od ON o.SalesOrderId = od.SalesOrderId WHERE o.Total> 8000 GROUP BY o.SalesOrderId, o.OrderDate,
o.Total ORDER BY Total DESC;
B. SELECT TOP (30) o.SalesOrderId, o.OrderDate, o.Total, (SELECT SUM(od.Qty * od.UnitPrice) /
SUM(od.Qty) FROM Sales.SalesOrderDetail od WHERE o.SalesOrderId =
od.SalesOrderId) AS [AvgUnitPrice]FROM Sales.SalesOrderHeader oWHERE o.Total > 8000 ORDER BY
o.Total DESC, AvgUnitPrice;
C. SELECT TOP (30) o.SalesOrderId, o.OrderDate, o.Total, SUM(od.QTY * od.UnitPrice) / SUM(od.Qty)
AS [AvgUnitPrice]FROM Sales.SalesOrderHeader o JOIN
SALES.SalesOrderDetail od ON o.SalesOrderId = od.SalesOrderId WHERE o.Total> 8000 GROUP BY
o.SalesOrderId, o.OrderDate, o.Total ORDER BY AvgUnitPrice;
D. SELECT TOP (30) o.SalesOrderId, o.OrderDate, o.Total, (SELECT SUM(od.Qty * od.UnitPrice) /
SUM(od.QTY) FROM Sales.SalesOrderDetail od WHERE o.SalesOrderId =
od.SalesOrderId) AS [AvgUnitPrice]FROM Sales.SalesOrderHeader o WHERE o.Total> 8000 ORDER BY
AvgUnitPrice DESC;
Answer: D

Microsoft 70-400 Practice Test, 70-400 Best Exam Questions, 70-400 Certification

Cheat-test 70-400 Certification Exam


Microsoft 70-400 Exam - Cheat-Test.com

Free 70-400 Sample Questions:

1. You install System Center Operations Manager 2007 on all your companys servers. You configure Operations Manager 2007 to monitor the health status of all applications.
The technical support team reports that they are not receiving e-mail notification when an application fails. You need to ensure that the technical support team receives e-mail notification when an application fails.
What should you do?
A. Create a new user role that is based on the Advanced Operator profile. Filter a notification subscription to this new role.
B. Create a new user role that is based on the Operator profile. Filter a notification subscription to this new role.
C. Enable e-mail notification. Create a new notification subscription based on Alert Aging.
D. Enable e-mail notification. Create a new notification recipient, and then create a new notification subscription.
Answer: D

2. You have a Systems Center Operations Manager 2007 environment. Your company has three data center locations. There is an e-mail gateway server in each location. Only the e-mail gateways are allowed to communicate with the Internet.
You need to configure Operations Manager 2007 so that all e-mail alerts will be sent to notification recipients, even when an e-mail gateway is unavailable.
What should you do?
A. Modify the e-mail notification settings to use Windows Integrated authentication.
B. Modify the e-mail notification settings to use Anonymous authentication.
C. Modify the e-mail notification settings so that the Retry primary after value is 15 minutes.
D. Modify the e-mail notification settings to include all three e-mail gateway servers.
Answer: D

3.You deploy System Center Operations Manager 2007 at your company. The company has three Microsoft Exchange Server 2003 computers.
You need to ensure that the Exchange administrators are able only to override the configuration of rules and monitors.
What should you do?
A. Create a user role that is based on the Author profile. Add the Exchange administrators to this new role.
B. Create a user role that is based on the Advanced Operator profile. Add the Exchange administrators to this new role.
C. Add the Exchange administrators to the Operations Manager Operators user role.
D. Add the Exchange administrators to the Operations Manager Administrators user role.
Answer: B

4. You have a System Center Operations Manager 2007 environment. You deploy Operations Manager agents to all domain controllers in the corporate Windows Server 2003 Active Directory environment.
The Active Directory team installs two new domain controllers into the corporate Active Directory environment.
You need to ensure that the Active Directory team is able to install agents on all new domain controllers by using the Operations Console. What should you do?
A. Create a user role named Operator AD. Select the Operator profile, and add the Active Directory team as members. Set the scope of the user role to the Active Directory Domain Controllers (Windows Server 2003) group.
B. Create a user role named Advanced Operator AD. Select the Advanced Operator profile, and add the Active Directory team as members. Set the scope of the user role to the Active Directory Domain Controllers (Windows Server 2003) group.
C. Add members of the Active Directory team as members of the Operations Manager Administrator user role.
D. Create a user role named Author AD. Select the Author profile and add the Active Directory team as members.
Set the scope of the user role to the Active Directory Domain Controllers (Windows Server 2003) group.
Answer: C

5. You are attempting to use System Center Operations Manager 2007 to monitor servers at a remote branch office. This branch office has a high latency rate for network requests.
You receive alerts that indicate that intermittent heartbeat failures are occurring at the branch office. You need to configure Operations Manager 2007 to minimize these alerts for only the branch office. What should you do?
A. In the agent settings for servers at the branch office, increase the Heartbeats interval in seconds.
B. In the settings for the Management Server, increase the number of missed heartbeats that are allowed.
C. In the agent settings for servers at the branch office, reduce the Heartbeats interval in seconds.
D. Enable the agent proxy on all servers at the branch office.
Answer: A

6. You have a System Center Operations Manager 2007 environment.
You configure notification subscriptions to send e-mail alert notifications to separate Active Directory, Exchange Server, and SQL Server support teams when errors occur.
You need to reduce the number of characters that are displayed in the e-mail notification for all alerts. What should you do?
A. In the Notification settings, modify the default notification format for instant messages.
B. In the Notification settings, enable Short Message Service (SMS) notifications.
C. In the Notification settings, modify the default notification format for e-mail messages.
D. In the notification subscription for the Active Directory support team, modify the default notification format for e-mail messages.
Answer: C

7. You have a System Center Operations Manager 2007 environment. You install Operations Manager agents as part of the computer image for every member server in the corporate Active Directory domain.
The agents have no agent settings information when they join the Active Directory domain.
You need to automatically distribute agent settings to agents that are deployed as part of a computer image on all member servers that are joined to the corporate Active Directory domain.
What should you do?
A. Configure an Active Directory Group Policy object (GPO) to apply settings.
B. Perform a client push installation of agents to all member servers in the corporate Active Directory domain.
C. Use the MOMADAdmin utility to publish Management Group information to all member servers in the corporate Active Directory domain.
D. Use the get-agent PowerShell commandlet to distribute agent configuration settings to all member servers in
the corporate Active Directory domain.
Answer: C

8. Your company deploys System Center Operations Manager 2007 agents as part of a computer image. You join all computers in the company to the corporate Active Directory domain.
You need to ensure that agents automatically obtain settings from the corporate Active Directory domain at startup.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Use the MOMADAdmin utility to publish Management Group information to the corporate Active Directory domain.
B. Run the Discovery Wizard. Perform automatic computer discovery to scan Active Directory for installed agents.
C. Configure Auto Agent Assignment on the target Management Server to assign desired computers to the target
Management Server.
D. Configure an Active Directory Group Policy object (GPO) to publish Management Group information to computers in the corporate Active Directory domain.
Answer: A,C