We provide real 98-361 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Microsoft 98-361 Exam quickly & easily. The 98-361 PDF type is available for reading and printing. You can print more and practice many times. With the help of our Microsoft 98-361 dumps pdf and vce product and material, you can easily pass the 98-361 exam.
Free demo questions for Microsoft 98-361 Exam Dumps Below:
NEW QUESTION 1
You are creating an ASP. NET Web application.
Which line of code should you use to require a control to process on the computer that hosts the application?
- A. runat= "server"
- B. redirect*="HostPag
- C. htm"
- D. AutoEventWireup="true"
- E. defaultRedirect="ServerPag
- F. htm"
Answer: A
NEW QUESTION 2
How should you configure an application to consume a Web service?
- A. Add the Web service to the development computer.
- B. Add a reference to the application in the Web service.
- C. Add a reference to the Web service in the application.
- D. Add the Web service code to the application.
Answer: C
Explanation:
Start by adding a Service Reference to the project. Right-click the ConsoleApplication1 project and choose ??Add Service Reference??:
NEW QUESTION 3
Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application?
- A. Reference an index in the database.
- B. Call a stored procedure.
- C. Query a database view.
- D. Script a SELECT statement to a file.
Answer: B
Explanation:
The SQL will only be inside the stored procedure.
NEW QUESTION 4
You have a SQL Server database named MyDB that uses SQL Server Authentication. Which connection string should you use to connect to MyDB?
- A. Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales
- B. Data Source=MyDB; Integrated Security=SSPI; Initial Catalog=Sales
- C. Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales
- D. Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial Catalog=Sales
Answer: A
Explanation:
Integrated Security Integrated Security is by default set to false.
When false, User ID and Password are specified in the connection.
Incorrect:
not C: Windows Authentication (Integrated Security = true) remains the most secure way to log in to a SQL Server database.
NEW QUESTION 5
You are writing a Web application that processes room reservation requests. You need to
verify that the room that a guest has selected is not already reserved by another guest.
Which type of programming should you use to determine whether the room is still available when the request is made?
- A. functional
- B. dynamic
- C. in-browser
- D. server-side
Answer: D
NEW QUESTION 6
What are two possible options for representing a Web application within Internet
Information Services (IIS)? (Each correct answer presents a complete solution. Choose two. )
- A. Web site
- B. Web directory
- C. Virtual directory
- D. Application server
- E. Application directory
Answer: AC
Explanation:
* Create a Web Application
An application is a grouping of content at the root level of a Web site or a grouping of content in a separate folder under the Web site's root directory. When you add an application in IIS 7, you designate a directory as the application root, or starting point, for the application and then specify properties specific to that particular application, such as the application pool that the application will run in.
* You can make an Existing Virtual Directory a Web Application.
NEW QUESTION 7
In this XHTML code sample, what will cause an error?
- A. The line break tag is incorrectly formatted.
- B. The HTML tags do not read XHTML.
- C. The body tag is missing a background attribute,
- D. All tags are not in uppercase.
Answer: A
Explanation:
In XHTML, the <br> tag must be properly closed, like this: <br />.
NEW QUESTION 8
This question requires that you evaluate the underlined text to determine if it is correct. Converting a value type to a reference type in an object is called boxing.
Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed" if the underlined text makes the statement correct.
- A. No change is needed
- B. unboxing
- C. interfacing
- D. mapping
Answer: :A
Explanation:
Boxing is an implicit conversion of a Value Types (C# Reference) to the type object or to any interface type implemented by this value type.
NEW QUESTION 9
In the application life cycle, the revision of an application after it has been deployed is referred to as:
- A. Unit testing
- B. Integration
- C. Maintenance
- D. Monitoring
Answer: C
NEW QUESTION 10
You are creating an application that presents the user with a Windows Form.
Which event is triggered each time the Windows Form receives focus?
- A. Enter
- B. Paint
- C. Load
- D. Activated
Answer: A
Explanation:
When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order:
Enter GotFocus LostFocus Leave Validating Validated
NEW QUESTION 11
You are creating a variable for an application.
You need to store data that has the following characteristics in this variable:
✑ Consists of numbers and characters
✑ Includes numbers that have decimal points
Which data type should you use?
- A. Decimal
- B. Char
- C. String
- D. Single
Answer: C
Explanation:
Need a string to store characters.
NEW QUESTION 12
In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase?
- A. Load
- B. Render
- C. PostInit
- D. PostBack
Answer: B
Explanation:
The SaveStateComplete event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium.
This is the last event raised before the page is rendered to the requesting browser.
NEW QUESTION 13
This question requires that you evaluate the underlined text to determine if it is correct.
When a base class declares a method as virtual, the method is hidden from implementation bv a derived class.
Select the correct answer if the underlined text does not make the statement correct. Select "No change is needed'' if the underlined text makes the statement correct.
- A. No change is needed
- B. can be overridden with its own implementation by a derived class
- C. must be overridden in any non-abstract class that directly inherits from that class
- D. cannot be overridden with its own implementation by a derived class
Answer: B
Explanation:
The implementation of a non-virtual method is invariant: The implementation is the same whether the method is invoked on an instance of the class in which it is declared or an instance of a derived class. In contrast, the implementation of a virtual method can be superseded by derived classes. The process of superseding the implementation of an inherited virtual method is known as overriding that method.
NEW QUESTION 14
The purpose of the Finally section in an exception handler is to:
- A. Execute code only when an exception is thrown.
- B. Break out of the error handler.
- C. Execute code regardless of whether an exception is thrown.
- D. Conclude the execution of the application.
Answer: C
Explanation:
By using a finally block, you can clean up any resources that are allocated in a try block, and you can run code even if an exception occurs in the try block. Typically, the statements of a finally block run when control leaves a try statement. The transfer of control can occur as a result of normal execution, of execution of a break, continue, goto, or return statement, or of propagation of an exception out of the try statement.
NEW QUESTION 15
You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics:
✑ Consists of numbers
✑ Includes numbers that have decimal points
✑ Requires more than seven digits of precision
You need to use a data type that will minimize the amount of memory that is used. Which data type should you use?
- A. Decimal
- B. Single
- C. Byte
- D. Double
Answer: D
Explanation:
The double keyword signifies a simple type that stores 64-bit floating-point values.
Precision: 15-16 digits
NEW QUESTION 16
You run the following code:
What is the value of result when the code has completed?
- A. 10
- B. 20
- C. 30
Answer: B
Explanation:
The conditional-OR operator (||) performs a logical-OR of its bool operands. If the first operand evaluates to true, the second operand isn't evaluated. If the first operand evaluates to false, the second operator determines whether the OR expression as a whole evaluates to true or false.
NEW QUESTION 17
Where must Internet Information Services (IIS) be installed in order to run a deployed ASP. NET application?
- A. on the computer that you plan to deploy from
- B. on the computer that hosts the application
- C. on the Application Layer Gateway Service
- D. on the client computers
Answer: B
Explanation:
IIS is run on the web server. The web server is hosting the application.
NEW QUESTION 18
You have a stack that contains integer values. The values are pushed onto the stack in the following order: 2,4,6,8.
The following sequence of operations is executed:
Pop Push 3 Pop Push 4
Push 6
Push 7 Pop Pop Pop
What is the value of the top element after these operations are executed?
- A. 2
- B. 3
- C. 6
- D. 7
Answer: B
NEW QUESTION 19
You are creating a database for a student directory. The Students table contains the following fields:
Which statement will retrieve only the first name, last name, and telephone number for every student listed in the directory?
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: A
Explanation:
Use SELECT??FROM and list the fields you want to retrieve.
NEW QUESTION 20
How does a console-based application differ from a Windows Store app?
- A. Windows Store apps do not provide a method for user input
- B. Console-based applications do not display a graphical interface.
- C. Windows Store apps can access network resources.
- D. Console-based applications require the XNA Framework to run.
Answer: B
NEW QUESTION 21
......
P.S. Certleader now are offering 100% pass ensure 98-361 dumps! All 98-361 exam questions have been updated with correct answers: https://www.certleader.com/98-361-dumps.html (276 New Questions)