0% found this document useful (0 votes)
59 views4 pages

Enterprise Application Programming: Instructions

The document contains a 20 question multiple choice quiz about enterprise application programming and cloud computing technologies like Microsoft Azure. It tests knowledge of concepts like IaaS, PaaS, SaaS, Azure services, JSON, APIs and REST. The questions cover topics such as Azure cmdlets, virtual machine limits, disk sizes, backup services, uploading disks, availability sets, environment variables, JSON formats, SOAP, API calls, arrays, deserialization, HTTP methods and creating APIs.

Uploaded by

Abdul Moiz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views4 pages

Enterprise Application Programming: Instructions

The document contains a 20 question multiple choice quiz about enterprise application programming and cloud computing technologies like Microsoft Azure. It tests knowledge of concepts like IaaS, PaaS, SaaS, Azure services, JSON, APIs and REST. The questions cover topics such as Azure cmdlets, virtual machine limits, disk sizes, backup services, uploading disks, availability sets, environment variables, JSON formats, SOAP, API calls, arrays, deserialization, HTTP methods and creating APIs.

Uploaded by

Abdul Moiz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Enterprise Application Programming

INSTRUCTIONS:
 Read the Questions Properly before answering
 You have 2 hours to complete this paper
 Tick the correct answer
 Write your Name, Date and Batch no. at the top of the paper
 Total Marks: 20

Q1. Microsoft Azure is a:

A) Hosting Service

B) Cloud Service

C) IaaS

D) PaaS

Q2. SaaS stands for:

A) Software as a System

B) Software as a Software

C) Software as a Service

D) None of the Above

Q3. Which Azure PowerShell cmdlet is used to create a new Azure website?

A) Publish-AzureWebsiteProject

B) New-AzureWebsite

C) New-AzureWebsiteJob

D) Set-AzureWebsite

Q4. How many virtual machines can be deployed into a cloud service?

A) Unlimited

B) 25

C) 50

D) 1

Prepared by Abdul Moiz


Q5. What is the maximum disk size supported for an operating system (OS) disk in Azure?

A) 1023 GB

B) 64 TB

C) 2 TB

D) 127 GB

Q6. Which is not part of the contents backed up when using the backup service for an Azure Website?

A) Website configuration

B) Website performance metrics

C) Website file content

D0 Website databases

Q7. Which Azure PowerShell cmdlet should you use to upload a virtual hard disk file?

A) Add-AzureDisk

B) Add-AzureDataDisk

C) Set-AzureOSDisk

D) Add-AzureVHD

Q8. To avoid losing the public virtual IP of a cloud service, what is the correct way to shut down the
last virtual machine in the cloud service?

A) Stop-AzureVM -ServiceName $serviceName -Name $vmName.

B) Use the management portal to shut down the virtual machine.

C) Stop-AzureVM -ServiceName $serviceName -Name $vmName -StayProvisioned or shutting down the


virtual machine from within the guest operating system.

D) Use a reserved IP address.

Q9. How many virtual machines can be in the same availability set?

A) Unlimited

B) 25

C) 50

D) 1

Prepared by Abdul Moiz


Q10. Which site settings can you define that can be read at application runtime using environment
variables?

A) Connection strings

B) Handler mappings

C) Application settings

D) .NET Framework Version

Q11. Which of the following is a valid JSON object? (where name is string, age Is Integer and car is
Boolean)

A) { “name";"John", "age";30, "car";true }

B) { “name":"John", "age":”30”, "car":true }

C) [{ “name":"John", "age":25, "car":false }]

D) None of the Above

Q12. Which of the following is the Data Format for SOAP API?

A) XML

B) JSON

C) both A and B

D) None of the Above

Q13. Identify the correct code used to retrieve data from an API Url:

A) client.GetAsync(https://jsonplaceholder.typicode.com/posts).Result;

B) client.GetAsync(“https://jsonplaceholder.typicode.com/posts”).Result;

C) client.GetAsync(“https://jsonplaceholder.typicode.com/posts”, new
StringContent(JsonConvert.SerializeObject(obj), Encoding.UTF8, "application/json")).Result;

D) None of the Above

Q14. JSON Arrays are represented by:

A) {}

B) []

C) [{}]

D) None of the Above

Prepared by Abdul Moiz


Q15. When we get a single JSON object, we can deserialize it in .NET by using:

A) var Data = JsonConvert.DeserializeObject<List<ApiData>>(data);

B) var Data = JsonConvert.DeserializeObject<ApiData>(data);

C) var Data = JsonConvert.DeserializeObject<List<ApiData>>;

D) None of the Above

Q16. IEnumerable is used when:

A) When receiving a list of objects

B) When receiving a single object

C) Both A and B

D) None of the Above

Q17. Post URLs can be opened in browsers

A) true

B) false

Q18. Consider some data that we need to save onto the server using an API. What method would you
use?

A) GET B) POST

C) PUT D) None of the Above

19. The correct method for creating an API in .Net is:

I) Create a method for the route

II) Create an ADO .Net model

III) Create an API Controller

IV) Register Route in Global.aspax

V) Add Configuration in webapiconfig.cs

A) III, I, II, IV, V B) II, III, I, IV, V

C) I, II, III, IV, V D) V, IV, III, II, I

Q20. REST API supports only JSON language.

A) True

B) False

Prepared by Abdul Moiz

You might also like