|
Hi every body I
passed 70-306 last week. Please check out my braindump. I hope it will help u.
Thanks.
QUESTION:- 1
Your company
FolksTech Inc. standardizes on the .NET Framework as its software development
platform. Subsequently, virus attacks cause your company to prohibit the
execution of any applications downloaded from the Internet. You must ensure that
all client computers on your intranet can execute all .NET applications
originating from your company. You must also ensure that the execution of .NET
applications downloaded from the Internet is prohibited. You must expend the
minimum amount of administrative effort to achieve your goal. Which policy
should you modify?
A Application Domain.
B Enterprise
C Machine
D User
Answer: B
QUESTION:- 2
You are
maintaining a Visual Studio .Net application that was developed by a colleague
at FolksTech inc. The application calculates interest and penalties for
financial transactions. All variables that contain financial data are defined as
type Double. When users enter financial data, the application periodically fails
during execution. Failure occurs in response to a variety of actions. The
application returns the following error message: "Arithmetic operation resulted
in an overflow" You need to identify as many potential exceptions as possible in
the application code. What should you do?
A Set Option Explicit to
On.
B Set Option Explicit to
Off.
C Set Option Strict to
On.
D Set Option Strict to
Off.
E Set Option Compare to
Binary.
F Set Option Compare to
Text.
Answer: C
QUESTION:- 3
You use Visual
Studio .NET to create a Windows-based application called FolksTechMortage. The
main form of the application contains several check boxes that correspond to
application settings. One of the CheckBox controls is named advancedCheckBox.
The caption for advancedCheckBox is Advanced. You must enable users to select or
clear this check box by pressing ALT+A. Which two actions should you take? (Each
correct answer presents part of the solution. Choose two)
A Set advancedCheckBox.AutoCheck to True.
B Set advancedCheckBox.AutoCheck to False.
C Set advancedCheckBox.Text to “&Advanced”.
D Set advancedCheckBox.Tag to “&Advanced”.
E Set advancedCheckBox.CheckState to Unchecked.
F Set advancedCheckBox.CheckState to Indeterminate.
G Set advancedCheckBox.Apperance to Button.
H Set advancedCheckBox.Apperance to Normal.
Answer: A, C
QUESTION:- 4
You use Visual
Studio .NET to create a class library project. Another developer named Lilliane
uses ASP.NET to create an Internet application for FolksTech’s Web site.
Lilliane deploys your class library to the \bin folder of her ASP.NET
application on FolksTech’s development Web server. She has access to your source
code through a share on another network server. Lilliane reports that her
application can instantiate and use classes from your class library. However,
when she is debugging her application, she cannot step into code within your
class library. You must ensure that developers who use your class library can
step through the code for debugging purposes. Which three actions should you
take? (Each correct answer presents part of the solution. Choose three)
A. Use the Build Configuration
Manager to set the Active Solution Configuration option to Debug. Set the Project Configuration to
Debug. Build your class library.
B. Add the class library project
to the ASP.NET solution.
C. Copy the .dll file from the
Debug folder of the class library project to the \bin folder of the ASP.NET
application.
D. Copy the .pdb file from the
Debug folder of the class library project to the \bin folder of the ASP.NET
application.
E. Copy the TempPE folder Debug
folder of the class library project to the \bin folder of the ASP.NET
application.
F. Copy the source code for the
class library to the ASP.NET application folder on the Web server.
G. Register the class library on
the Web server by using RegSvr32.exe.
Answer: A, C, D
QUESTION:- 5
You execute a
query on your external Oracle database named FolksTechSalesDate by using an
OleDbCommand object. The query uses the Average function to return a single
value that represents the average price of products in the inventory table. You
want to optimize performance when you execute this query. To execute this query
from your ADO.NET code, you need to use a method of the OleDbCommand object.
Which method should you use?
A. ExecuteNonQuery
B. ExecuteScalar
C. ToString
D. ExecuteReader
Answer: B
|