PrepAway - Latest Free Exam Questions & Answers

Category: 70-565

Exam 70-565: Pro: Designing and Developing Enterprise Applications Using the Microsoft .NET Framework 3.5

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to add an existing .NET component into the current application. The .NET component has insufficient documentation.
The structure of the classes in the component must be analyzed before they are incorporated in the application.
You need to analyze the members in the component and the dependencies among them.
What should you do?

Which type of test should you use?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are developing a test strategy for the application. The application must meet the following requirements:
– Render reports by using Microsoft SQL Server 2005 Reporting Services (SSRS).
– Support 750 concurrent users.
You need to identify a test strategy that ensures that the application meets the requirements.
Which type of test should you use?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application will be used on personal computers and mobile-based devices. The current application design is composed of the following three layers:
– User interface layer
– Business layer
– Data access layer
You need to ensure that the application offers a custom experience to the end user based on the type of device used.
You also need to ensure that code duplication is avoided.
What should you do?

What should you do?

You create a Windows Forms application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application contains the following code segment.
public DataSet GetProductByID(string ProductID)
{
DataSet ds = new DataSet(“ProductList”);
string SqlSelectCommand = “Select * FROM PRODUCTS WHERE PRODUCTID=” + ProductID;
try
{
SqlDataAdapter da = new SqlDataAdapter();
SqlConnection cn = new SqlConnection(GetConnectionString());
SqlCommand cmd = new SqlCommand(SqlSelectCommand);
cmd.CommandType = CommandType.Text;
cn.Open();
da.Fill(ds);
cn.Close();
}
catch (Exception ex)
{
string msg = ex.Message.ToString();
//Perform Exception Handling Here
}
return ds;
}
You need to ensure that the code segment is as secure as possible.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application stores human resources data in a Microsoft SQL Server 2008 database. A partial database schema is as shown in the exhibit.
(Click the Exhibit button.) Each time a row is added, modified, or deleted from the Employee table, a corresponding entry must be recorded
in the EmployeeChangeLog table. You need to implement the data change logging.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are designing the database schema of the application.
The database schema is as shown in the exhibit. (Click the Exhibit button.)
You need to ensure that the design meets the following requirements:
– The database contains no duplicate data.
– A category can contain zero or more products.
– Each product can be associated with zero or more categories.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application has a class that contains a method named NewEvent. The NewEvent method contains the following code segment.

using (SqlConnection cn = new SqlConnection(connString))
{
SqlCommand cmd = new SqlCommand();
cmd.Connection = cn;
cmd.CommandText = “prcEvent”;
cmd.Parameters.Add(“@Date”, SqlDbType.DateTime, 4);
cmd.Parameters.Add(“@Desc”, SqlDbType.VarChar, 8000);
cmd.Parameters.Add(“@Link”, SqlDbType.VarChar, 2048);
cmd.Parameters[“@Date”].Value = date;
cmd.Parameters[“@Desc”].Value = eventText;
cmd.Parameters[“@Link”].Value = eventLink;
cn.Open();
retcode = cmd.ExecuteNonQuery().ToString();
}
During the test process, a user executes the NewEvent method. The method fails and returns the following error message:
“A stored procedure named prcEvent requires a parameter named @Date.”
You need to resolve the error.
What should you do?

What should you do?

You create applications by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You deploy a new Windows Forms application in a test environment. During the test process, an error message that includes an incomplete stack trace is reported.
You review the following code segment that has caused the error.

public int AddNewMission(DateTime date, string mission, string missionLink)
{
try
{
DALCode pgr = new DALCode(“cnWeb”);
int retcode = pgr.AddNewMission(date, mission, missionLink);
return retcode;
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
pgr.Dispose();
}
}
You need to modify the code segment to display the entire stack trace.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are creating a high-level design for the application. You identify several functionalities that can be developed as reusable components.
You need to identify the public interface for each component from the application design.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to add an existing .NET component into the current application. The .NET component has insufficient documentation.
The structure of the classes in the component must be analyzed before they are incorporated in the application.
You need to analyze the members in the component and the dependencies among them.
What should you do?


Page 1 of 1112345...10...Last »