Enterprise Application Programming: Instructions
Enterprise Application Programming: Instructions
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
A) Hosting Service
B) Cloud Service
C) IaaS
D) PaaS
A) Software as a System
B) Software as a Software
C) Software as a Service
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
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
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?
Q9. How many virtual machines can be in the same availability set?
A) Unlimited
B) 25
C) 50
D) 1
A) Connection strings
B) Handler mappings
C) Application settings
Q11. Which of the following is a valid JSON object? (where name is string, age Is Integer and car is
Boolean)
Q12. Which of the following is the Data Format for SOAP API?
A) XML
B) JSON
C) both A and B
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;
A) {}
B) []
C) [{}]
C) Both A and B
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
A) True
B) False