★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 98-361 Exam Dumps (PDF & VCE):
Available on: https://www.certleader.com/98-361-dumps.html


Proper study guides for Updated Microsoft Microsoft MTA Software Development Fundamentals certified begins with Microsoft 98-361 preparation products which designed to deliver the Verified 98-361 questions by making you pass the 98-361 test at your first time. Try the free 98-361 demo right now.

2021 Aug mta 98-361 microsoft:

Q11. You are developing an application that uses a double dimensional array. You use the following code to declare the array: 

int[,] numbers = new int[,] 

{ 11, 7, 50, 45, 27 }, 

{ 18, 35, 47, 24, 12 }, 

{ 89, 67, 84, 34, 24 }, 

{ 67, 32, 79, 65, 10 } 

}; 

Next, you refer to an array element by using the expression numbers[2, 3]. What will be the return value of this expression? 

A. 47 

B. 84 

C. 24 

D. 34 

Answer: D 


Q12. You are developing code for a method that calculates the discount for the items sold. You name the method CalculateDiscount. The method defines a variable, percentValue of the type double. You need to make sure that percentValue is accessible only within the CalculateDiscount method. What access modifier should you use when defining the percentValue variable? 

A. private 

B. protected 

C. internal 

D. public 

Answer: A 


Q13. You are developing a new Windows service application. The application contains three different Windows services. Each service will have a different start type. Which of the following classes will help you perform the installation tasks specific to each service? You must suggest a solution that requires the least coding effort. 

A. System.ServiceProcess.ServiceProcessInstaller 

B. System.ServiceProcess.ServiceInstaller class 

C. System.Configuration.Installer class 

D. System.Configuration.Installer.ComponentInstaller class 

Answer: B 


Q14. You need to update the Region fields for customers whose reference code is "TKY". The updated Region should be set to "Japan". Also, this change should affect only customers who live in Tokyo. Which of the following SQL statement should you use? 

A. UPDATE Customers SET Region = 'Japan' 

WHERE RefCode = 'TKY' AND City = 'TOKYO' 

B. UPDATE Customers SET Region = 'Tokyo' 

WHERE RefCode = 'TKY' AND City = 'Japan' 

C. UPDATE Customers SET Region = 'Tokyo' 

WHERE RefCode = 'TKY' 

D. UPDATE Customers SET Region = 'Japan' 

WHERE RefCode = 'TKY' 

Answer: A 


Q15. You are developing a C# program for a bike rental company. The data is stored in a SQL Server 2000 server named BikeServer in a database named BikeDB. You must use the Windows Integrated authentication to connect to the BikeDB database. Which of the following connection strings should you choose in your C# program for connecting to the BikeDB database? 

A. "Provider=SQLOLEDB;Data Source=BikeServer;InitialCatalog=BikeDB;Integrated Security=SSPI;" 

B. "Provider=SQLOLEDB;Data Source=BikeServer;InitialCatalog=BikeDB;User Id=sa; Password=gih6774y" 

C. "Data Source=BikeServer;InitialCatalog=BikeDB;Trusted_Connection=true;" 

D. "Data Source=BikeServer;InitialCatalog=BikeDB;User Id=sa;Password=gih6774y" 

Answer: A 


98-361 exam prep

Improve microsoft mta 98-361:

Q16. You are developing a program that performs frequent insert and delete operations on the data. Your requirement also dictates the capability to access previous and next records when the user clicks the previous or next button. Which of the following data structures will best suit your requirements? 

A. array 

B. circular linked list 

C. linked list 

D. doubly linked list 

Answer: D 


Q17. You are developing an ASP.NET applications that calls Web service to retrieve earthquake predictions for a given geographical area. The Web service performs complex, time-consuming calculations to generate the predictions. It is hosted on government Web server, where you have permission only to invoke the Web service. The users of your Web application complain that the user interface freezes when they attempt to retrieve the perditions. You have full access to the Web server that hosts your ASP.NET application. Which of the following approach should you use to resolve this issue? 

A. Move the ASP.NET application to a faster computer. 

B. Connect to the Web service over faster Internet connection. 

C. Install additional memory on the Web server that hosts the ASP.NET application. 

D. Use asynchronous calls to invoke the Web service from within your ASP.NET application. 

Answer: D 


Q18. You are developing an application that uses the Stack data structure. You write the following code: 

Stack first = new Stack(); first.Push(50); first.Push(45); first.Pop(); 

first.Push(11); 

first.Pop(); 

first.Push(7); 

What are the contents of the stack, from top to bottom, after these statements are executed? 

A. 7, 11, 50 

B. 7, 45 

C. 7, 50 

D. 7, 11, 45 

Answer: C 


Q19. You have developed two console applications. The first, DisplayFile.exe, accepts the name of a text file as a command-line argument and displays the file’s contents. The second, ToUpper.exe, accepts text from users and converts the text to uppercase letters. You need to combine both commands so that contents of a given file (sample.txt) can be displayed in uppercase letters. Which of the following commands would you choose? 

A. ToUpper | DisplayFile Sample.txt 

B. DisplayFile Sample.txt | ToUpper 

C. ToUpper > DisplayFile Sample.txt 

D. DisplayFile Sample.txt > ToUpper 

Answer: B 


Q20. You are developing an ASP.NET applications that calls Web service to retrieve inventory information. You know the URL of the Web service. You need to invoke the methods of this Web service within your Web application. How can you generate the client-side proxy classes so that you can use the Web methods? 

A. Use the Web service discovery tool. 

B. Copy the .ASMX file from the Web server to the ASP.NET application project. 

C. Copy the build output from the Web server to the ASP.NET application project. 

D. Set a Web reference to point to the Web service. 

Answer: D