aiotestking uk

70-483 Exam Questions - Online Test


70-483 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. - (Topic 1) 

You are developing an application that will transmit large amounts of data between a client computer and a server. You need to ensure the validity of the data by using a cryptographic hashing algorithm. Which algorithm should you use? 

A. RSA 

B. HMACSHA2S6 

C. Aes 

D. RNGCryptoServiceProvider 

Answer:

Q2. - (Topic 2) 

You have a class named Customer and a variable named customers. 

You need to test whether the customers’ variable is a generic list of Customer objects. Which line of code should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

http://stackoverflow.com/questions/982487/testing-if-object-is-of-generic-type-in-c-sharp 

Q3. HOTSPOT - (Topic 2) 

You have the following code (line numbers are included for reference only): 

To answer, complete each statement according to the information presented in the code. 

Answer:  

Q4. DRAG DROP - (Topic 1) 

You are developing a class named ExtensionMethods. 

You need to ensure that the ExtensionMethods class implements the IsEmail() extension method on string objects. 

How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q5. - (Topic 2) 

You are developing an application that uses several objects. The application includes the following code segment. (Line numbers are included for reference only.) 

You need to evaluate whether an object is null. Which code segment should you insert at line 03? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Use the == operator to compare values and in this case also use the null literal. 

Q6. - (Topic 2) 

You are creating a class library that will be used in a web application. 

You need to ensure that the class library assembly is strongly named. 

What should you do? 

A. Use the csc.exe /target:Library option when building the application. 

B. Use the AL.exe command-line tool. 

C. Use the aspnet_regiis.exe command-line tool. 

D. Use the EdmGen.exe command-line tool. 

Answer:

Explanation: The Windows Software Development Kit (SDK) provides several ways to sign an assembly with a strong name: 

* Using the Assembly Linker (Al.exe) provided by the Windows SDK. 

* Using assembly attributes to insert the strong name information in your code. You can use either the AssemblyKeyFileAttribute or the AssemblyKeyNameAttribute, depending on where the key file to be used is located. 

* Using compiler options such /keyfile or /delaysign in C# and Visual Basic, or the 

/KEYFILE or /DELAYSIGN linker option in C++. (For information on delay signing, see 

Delay Signing an Assembly.) 

Note: 

* A strong name consists of the assembly's identity—it’s simple text name, version number, and culture information (if provided)—plus a public key and a digital signature. It is generated from an assembly file (the file that contains the assembly manifest, which in turn contains the names and hashes of all the files that make up the assembly), using the corresponding private key. Microsoft. Visual Studio. .NET and other development tools provided in the .NET Framework SDK can assign strong names to an assembly. 

Assemblies with the same strong name are expected to be identical. 

Q7. - (Topic 2) 

You are troubleshooting an application that uses a class named FullName. The class is decorated with the DataContractAttribute attribute. The application includes the following code. (Line numbers are included for reference only.) 

You need to ensure that the entire FullName object is serialized to the memory stream object. 

Which code segment should you insert at line 09? 

A. binary.WriteEndElement(); 

B. binary.NriteEndDocument(); 

C. ms.Close() ; 

D. binary.Flush(); 

Answer:

Explanation: * DataContractSerializer.WriteEndObject Method (XmlDictionaryWriter) Writes the closing XML element using an XmlDictionaryWriter. 

* Note on line 07: DataContractSerializer.WriteObject Method Writes all the object data (starting XML element, content, and closing element) to an XML document or stream. 

XmlDictionaryWriter 

Q8. - (Topic 1) 

An application will upload data by using HTML form-based encoding. The application uses a method named SendMessage. 

The SendMessage() method includes the following code. (Line numbers are included for reference only.) 

The receiving URL accepts parameters as form-encoded values. 

You need to send the values intA and intB as form-encoded values named a and b, 

respectively. 

Which code segment should you insert at line 04? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

WebClient.UploadValuesTaskAsync - Uploads the specified name/value collection to the resource identified by the specified URI as an asynchronous operation using a task object. These methods do not block the calling thread. http://msdn.microsoft.com/en-us/library/system.net.webclient.uploadvaluestaskasync.aspx 

Q9. - (Topic 1) 

You are developing an application that will convert data into multiple output formats. 

The application includes the following code. (Line numbers are included for reference only.) 

You are developing a code segment that will produce tab-delimited output. All output routines implement the following interface: 

You need to minimize the completion time of the GetOutput() method. Which code segment should you insert at line 06? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

A String object concatenation operation always creates a new object from the existing string and the new data. A StringBuilder object maintains a buffer to accommodate the concatenation of new data. New data is appended to the buffer if room is available; otherwise, a new, larger buffer is allocated, data from the original buffer is copied to the new buffer, and the new data is then appended to the new buffer. The performance of a concatenation operation for a String or StringBuilder object depends on the frequency of memory allocations. A String concatenation operation always allocates memory, whereas a StringBuilder concatenation operation allocates memory only if the StringBuilder object buffer is too small to accommodate the new data. Use the String class if you are concatenating a fixed number of String objects. In that case, the compiler may even combine individual concatenation operations into a single operation. Use a StringBuilder object if you are concatenating an arbitrary number of strings; for example, if you're using a loop to concatenate a random number of strings of user input. 

http://msdn.microsoft.com/en-us/library/system.text.stringbuilder(v=vs.110).aspx 

Q10. HOTSPOT - (Topic 2) 

You are building a data access layer in an application that contains the following code: 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. 

Answer: