QUESTION NO: 33Richard works as a Software Developer for BlueWell Inc. He is writing a component that will be shared by multiple applications. He wants to install the component in the GAC (Global Assembly Access) To install a component in the GAC, he requires to provide a strong name to the component. Which of the following tools will he use to accomplish this task?A. Al.exeB. Sn.exeC. Cert2spc.exeD. Signcode.exeE. Gacutil.exe
200-155 exam Answer: B

QUESTION NO: 34Maria works as a Software Developer for ManSoft Inc. She develops an application using Visual Studio .NET 2005. Maria wants to ensure that only employees of the Accounts department can view the application. Therefore, she decides to change the configuration settings in the Web.config file.
What will Maria do to accomplish the task?A. Add the <authorization> element in the Web.config file. Then add the <allow users=”Accounts” /> attribute in the element.B. Add the <authentication> element in the Web.config file.C. Add the <authorization> element in the Machine.config file. Then add the <allow roles=”Accounts” /> attribute in the element.D. Add the <authorization> element in the Web.config file.Answer: B

QUESTION NO: 36Smith works as a Software Developer for ABC Inc. He creates an application using Visual Studio .NET 2005. The application displays “Welcome to ABC” on the top-left corner of a form. He writes the following code:StringBuilder strbuild1 = new StringBuilder(20);
strbuild1.Append(“‘Welcome”);
strbuild1.Append(” “);
strbuild1.Append(“to”);
strbuild1.Append(” “);
strbuild1.Append(“ABC'”);
string str1 = strbuild1.ToString();
Console.WriteLine(str1);
Console.ReadLine();
What is the main purpose of using StringBuilder object in the application?A. To append a specified string to the end of the StringBuilder object.B. To concatenate two or more different set of strings or a set of Unicode characters.C. To create dynamic or mutable strings.D. To convert a value of the StringBuilder object to the String object.Answer: C

QUESTION NO: 37Allen works as a Software Developer for ABC Inc. He develops a Windows application. He adds a form to the application named Form1, which contains a Label control named Label1. A text file named File1.txt contains a list of products. File1.txt is located in the application directory. Each product name is listed in a new line in File1.txt. Allen wants to retrieve a list of products from File1.txt and display it in Label1. He adds the following code to the application:
1. StreamReader Reader1 = new StreamReader((Stream)File.OpenText(Server.MapPath (“File1.txt”)));
2. Stream MyStream;
3. string InputString;
4. // Insert statement here.
5. while (InputString != null)
6. {7. Label1.Text = String.Format(“{0}{1}”, Label1.Text, InputString);
8. Reader1.ReadLine();
9. }
10. Reader1.Close();
Which of the following statements will Allen add at line 4 to accomplish the task?A. InputString = Reader1.ReadLine();B. InputString = Reader1.BaseStream.ToString();C. InputString = MyStream.ToString();D. InputString = MyStream.Read(b,0,Byte1.Length).ToString();
200-155 pdf Answer: A

QUESTION NO: 38You work as Enterprise Application Developer in SunInfo Inc. The company uses Microsoft .NET Framework 3.5. You design an application. You are required to execute queries against a collection and file directories. Which of the following data access technologies will you use to accomplish the task?A. LINQ to ObjectsB. LINQ to Data ServicesC. LINQ to XMLD. LINQ to DataSetsAnswer: A

QUESTION NO: 39You work as a Software Developer for Mansoft Inc. The company uses Visual Studio .NET as its application development platform. You create an application named ExceptionHandling using .NET Framework. You write code and execute it, but it causes an error. Now, you want to find out where the exception has occurred. Which of the following properties of the exception class will you use to accomplish the task?A. SourceB. MessageC. DataD. StackTrace
200-155 vce Answer: D

QUESTION NO: 40You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You are required to call an unmanaged method from your managed code with the help of platform invoke services. What will you do to accomplish this task?A. 1. Export a type library for your managed codeB. 1. Import a type library as an assembly
2. Create instances of COM objectC. 1. Register your assembly by using COM
2. Reference your managed code from COMD. 1. Create a class to hold DLL methods
2. Create prototype methods with managed codeAnswer: D

QUESTION NO: 41You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are presently busy implementing a custom trace that logs errors and warnings in a MS SQL Server database. The implementation should allow different applications to decide whether errors or warnings should be logged at a specified time. You install the assembly that contains the trace listener in the GAC on an application server. You want to enable all Web services on the application server to utilize the trace listener by default. You need to ensure that the implementation does not force Microsoft Windows Forms applications that run on the server to utilize the trace listener. What will you do to accomplish this task? Each correct answer represents a part of the solution. Choose two.A. Add the trace listener to the Web.config file for every Web service.B. Add the trace listener to the global Web.config file.C. Specify trace switches for every Web service in the Web.config file.D. Add the trace listener to the machine.config file.E. Specify trace switches in the machine.config file.
200-155 exam Answer: B,C

QUESTION NO: 42You are working on an ASP.NET application that will handle shopping cart for online users. You wish to generate images of all your company’s products dynamically on one of the application’s Web pages. You need to modify your configuration settings file for this purpose. Which of the following sections of the configuration file will you use to accomplish the task?A. <httpHandlers>B. <httpModules>C. <httpRuntime>D. <httpCookies>Answer: A

QUESTION NO: 43Andrew works as a Software Developer for Mansoft Inc. The company’s network has a Web server that hosts the company’s Web site. Andrew wants to enhance the security of the Web site by implementing Secure Sockets Layer (SSL). Which of the following types of encryption does SSL use? Each correct answer represents a complete solution. Choose two.A. IPSecB. AsymmetricC. SymmetricD. Secret200-155 dumps Answer: B,C

QUESTION NO: 44You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You need to save a graphical object from the application. The graphical object is a collection of x and y points, each represented by using a single precision floating point number. You want to use the least amount of disk space by the saved object. Which the following classes will you use to accomplish this task?A. XmlWriterB. StreamWriterC. TextWriterD. BinaryWriterAnswer: D

QUESTION NO: 45You work as a Software Developer for ABC Inc. You use C# .NET to develop a windows application. The application will implement a role-based authorization scheme that is based on a Microsoft SQL Server database of user names. Users will enter their names in a text box named UserName. You must ensure that users are assigned the supervisor role and the PG role by default. Which of the following code segments will you use to accomplish this task?A. GenericIdentity identity = new GenericIdentity(UserName.Text); string[] RoleArray = {“Supervisor”, “PG”}; GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);B. GenericIdentity identity = new GenericIdentity(UserName.Text); string[] RoleArray = {“Supervisor”, “PG”};
WindowsPrincipal principal = new WindowsPrincipal(identity);C. WindowsIdentity identity = new WindowsIdentity.GetCurrent(); string[] RoleArray ={“Supervisor”, “PG”};
GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);D. WindowsIdentity identity = new WindowsIdentity.GetAnonymous(); string[] RoleArray = {“Supervisor”, “PG”};
WindowsPrincipal principal = new GenericPrincipal(identity, RoleArray);
200-155 pdf Answer: A

QUESTION NO: 47Adam works as a Software Developer for ABC Inc. He creates an ASP.NET application, named MyApp. During beta testing of MyApp, he ensures that both developers and beta testers see the actual text of error messages. Adam performs beta testing of other applications on the same test server. All the other applications display ASP.NET error messages. After completing beta testing, Adam promotes the beta test server to a production server. He wants all the applications to display a single, userfriendly error message. Adam also wants to configure MyApp and the production server to meet these goals. What will he do to accomplish the required task with minimum administrative effort?A. In the Web.config file for MyApp, add the following element: <customErrors mode=”RemoteOnly” />B. In the Machine.config file, add the following element: <customErrors mode=”On” />C. In the MyApp.config file, add the following element: <customErrors mode=”On” />D. In the MyApp.config file, add the following element: <customErrors mode=”RemoteOnly” />E. In the Web.config file for MyApp, add the following element: <customErrors mode=”On” />F. In the Machine.config file, add the following element: <customErrors mode=”RemoteOnly” />
200-155 vce Answer: B

See What Our Customers Are Saying:

We at Pass4itsure are committed to our customer’s success. There are 50,000+ customers who used this preparation material for the preparation of various certification exams and this number of customers is enough for new candidates to trust in these products.Our Cisco 200-155 dumps are created with utmost care and professionalism. We utilize the experience and knowledge of a team of industry professionals from leading organizations all over the world.
These CCNA Data Center 200-155 dumps DCICT exam dumps provide you with the experience of taking the actual test. Our 200-155 Exam is not just questions and answers. “Introducing Cisco Data Center Technologies”, also known as 200-155 exam, is a Cisco certification which covers all the knowledge points of the real Cisco exam. CCNA Data Center 200-155 DCICT exam dumps provided by pass4itsure will make you feel like you are taking an actual exam at a Prometric or VUE center. Pass4itsure Cisco https://www.pass4itsure.com/200-155.html dumps exam questions answers are updated (85 Q&As) are verified by experts. The associated certifications of 200-155 dumps is CCNA Data Center.