Course 2 –  Microsoft Azure Management Tools and Security Solutions

Module 3: Microsoft Azure Serverless Technology & IoT

MICROSOFT AZURE FUNDAMENTALS AZ-900 EXAM PREP SPECIALIZATION

Complete Coursera Study Guide

Last updated:

INTRODUCTION – Microsoft Azure Serverless Technology & IoT

This week, you will be introduced to Azure serverless computing technologies along with a variety of Azure IoT services. You will explore their features and applications in depth, gaining insight into how they can be applied to enhance business operations. By examining real-world use cases, you will develop the skills necessary to evaluate and select the most suitable technology for specific business scenarios, ensuring that you can make informed decisions that contribute to organizational success.

Learning Objectives

  • Choose the best Azure IoT service for a given business scenario.
  • Choose the right serverless computing technology for your business scenario.

KNOWLEDGE CHECK 1

1. True or False

The term “serverless computing” means that there is no underlying Server component.

  • True 
  • False (CORRECT)

Correct: There is a server (or a group of servers) that execute your code or desired functionality. The key idea is that you are not responsible for setting up or maintaining that server. You don’t have to worry about scaling the server or dealing with outages. The cloud vendor takes care of all the maintenance and scaling concerns for you.

2. True or False?

Serverless computing is primarily used to process messages sent from end-users to the back-end system.

  • True
  • False (CORRECT)

Correct: Serverless computing is used to handle backend scenarios. It is responsible for sending messages from one system to another, or processing messages that were sent from other systems. It’s not used for end-user facing systems.

3. Azure Cloud services provides two serverless computing services Azure Functions and Azure Logic Apps. Which service allows a program to run in response to an event, like an HTTP request, a new message on a queue?

  • Azure Logic Apps
  • Azure Functions (CORRECT)

Correct: Azure Functions allows you to host a single method or function using a popular programming language in the cloud that runs in response to an event such as an HTTP request, a new message on a queue, or on a timer. 

4. Which serverless computing service can make use of a web-based designer and can execute logic triggered by Azure services without writing any code? 

Select all options that apply.

  • Azure Functions (CORRECT)
  • Azure Logic Apps (CORRECT)

Correct: Azure Functions allows you to host a single method or function using a popular programming language in the cloud that runs in response to an event, like an HTTP request, a new message on a queue, or on a timer. 

Correct: Logic Apps is low-code / no-code development platform hosted as a cloud service that helps you automate and orchestrate tasks, business processes, and workflows. An Azure Logic Apps is designed in a web-based designer and can execute logic triggered by Azure services without writing any code

5. Currently, your company randomly sends out requests to purchasers asking them to participate in a customer satisfaction survey. The customer service department would like to be more proactive in responding to poor satisfaction ratings. The company has recently moved to Azure cloud services and believes it should be possible to dynamically respond to specific customer satisfaction responses. 

Which of the following services could assist in such an automated process?

  • Azure Logic Apps (CORRECT)
  • Azure Functions

Correct: Azure Logic Apps is a development platform hosted as a cloud service that helps you automate and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations.

KNOWLEDGE CHECK 2

1. True or False

Azure IoT Hub is a cloud hosted service that acts as a central message hub for bi-directional communication between IoT application and the devices it manages.

  • True (CORRECT)
  • False

Correct: Azure IoT Hub is a managed service hosted in the cloud that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages. You can use Azure IoT Hub to build IoT solutions with reliable and secure communications between millions of IoT devices and a cloud-hosted solution backend. You can connect virtually any device to your IoT Hub.

2. True or False

Azure IoT Central creates an end-to-end highly secure IoT solution for customers that encompasses everything from the hardware and operating system on the device, to the secure method of sending messages from the device to the message hub.

  • True
  • False (CORRECT)

Correct: Azure Sphere creates an end-to-end highly secure IoT solution for customers that encompasses everything from the hardware and operating system on the device to the secure method of sending messages from the device to the message hub.

3. Which of the following provides a dashboard that allows you to connect, monitor, and manage your IoT devices and send alerts when a specific device needs maintenance?

  • Azure Sphere
  • Azure IoT Hub
  • Azure IoT Central (CORRECT)

Correct: Azure IoT Central builds on top of IoT Hub by adding a dashboard that allows you to connect, monitor, and manage your IoT devices. The visual user interface (UI) makes it easy to quickly connect new devices and watch as they begin sending telemetry or error messages.

4. Your company is looking at utilizing IoT devices, however management want assurances that the best level of security will be implemented on these devices and on all communications. Which Azure service do you think provides the most secure implementation?

  • Azure IoT Hub
  • Azure IoT Central
  • Azure Sphere (CORRECT)

Correct: Azure Sphere creates an end-to-end highly secure IoT solution for customers that encompasses everything from the hardware and operating system on the device, to the secure method of sending messages from the device to the message hub.

5. Your company has partnered with a leading appliance manufacturer. These IoT enabled appliances will send telemetry information to a centralized location in your company where it can be analyzed, and maintenance can be scheduled. Your company will integrate this information into its own existing maintenance request system. In your opinion which of the following services would be most suitable for this scenario?

  • Azure IoT Hub (CORRECT)
  • Azure Sphere
  • Azure IoT Central

Correct: Azure IoT Hub is the best choice in this scenario. It is a managed service hosted in the cloud that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages. You can connect virtually any device to your IoT Hub.

6. You have recently joined a large haulage company as a junior cloud engineer. The company have recently moved to Azure Cloud services and management is planning to use IoT devices to collect information from their trucks as they transport goods around the world. This will include computer engine information as well as third party sensor collection information such as temperatures etc.

Based on this scenario which of the following solutions would you recommend?

  • Azure Sphere
  • Azure IoT Central (CORRECT)
  • Azure IoT Hub 

Correct: Azure IoT Central is the best choice in this scenario. IoT Central has access to prebuilt templates such as the Connected Logistics starter template which provides an out-of-the-box dashboard that will accomplish many of these requirements. Certain features might need to be reconfigured once the template has been deployed but the truck gateway functionality would be ideal for this scenario.

TEST PREP

1. Azure Cloud Services provides two serverless computing services; Azure Functions and Azure Logic Apps. Which service is responsible for automation and orchestration tasks, business processes, and workflows?

  • Azure Functions
  • Azure Logic Apps (CORRECT)

Correct: Logic Apps is a development platform that is hosted as a cloud service. It helps you automate and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations.

2. True or False

Existing logic written in C#, can be copied from an existing Windows Service and ported to an Azure Function?

  • True (CORRECT)
  • False

Correct: It would make sense to copy existing logic written in C#, from the Windows Service and port it to an Azure Function. It’s possible that the same logic could be implemented in Azure Logic Apps. However, since the service already exists in in C#, it can be leveraged for use in an Azure Function.

3. Your company has recently moved to Azure cloud services and believe it should be possible to integrate apps, data, systems, and services across enterprises or organizations dynamically using automation and orchestration. Which of the following services could assist in such an automated process?

  • Azure Functions
  • Azure Logic Apps (CORRECT)

Correct: Azure Logic Apps is a development platform hosted as a cloud service that helps you automate and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations.

4. Which of the following provides a managed service hosted in the cloud that acts as a central message point for bi-directional communication between your IoT application and the devices it manages?

  • Azure IoT Hub (CORRECT)
  • Azure Sphere
  • Azure IoT Central

Correct: You can use Azure IoT Hub to build IoT solutions with reliable and secure communications between millions of IoT devices and a cloud-hosted solution backend. 

5. Your company is developing a new IoT appliance that will be used to capture and transmit personal data back to a cloud service. Which of the following services can the company implement to ensure the highest level of security?

  • Azure Sphere (CORRECT)
  • IoT Hub
  • IoT Central

Correct: Azure Sphere creates an end-to-end highly secure IoT solution for customers that encompasses everything from the hardware and operating system on the device to the secure method of sending messages from the device to the message hub.

6. You have noted that most of the data your system processes arrives during business hours. Your goal is to implement a product that can scale automatically to accommodate busier times so that you only pay for what you use.

Which Azure solution would best suit your business goal?

  • Azure Functions (CORRECT)
  • Azure Logic Apps 

Correct: Azure Functions is a serverless compute service that lets you run event-triggered code without having to explicitly provision or manage infrastructure. Azure Functions scales automatically, and charges accrue only when a function is triggered. These qualities make Azure Functions a solid choice when demand is variable. Azure Functions can scale out to accommodate these busier times. 

7. Let’s say you need to execute custom algorithms or perform specialized data parsing and data lookups.

Which Azure solution would best suit your business goal?

  • Azure Logic Apps 
  • Azure Functions (CORRECT)

Correct: Azure Functions works well for this scenario.

8. Your team has limited experience with writing custom code, but it sees tremendous value in automating several important business processes. 

Which of the following solutions do you think you should use to achieve this?

  • Azure Logic Apps (CORRECT)
  • Azure Functions

Correct: That’s it, Azure Logic Apps is the best option in this case.

9. Which of the following solutions do you think would work best in this scenario where the company wants to update a Windows service to include real-time inventory tracking?

  • Azure Functions (CORRECT)
  • Azure Logic Apps 

Correct: Azure Functions is the best option in this case.

10. Your team sees an opportunity to reach out proactively to customers who provide low scores and leave comments with a negative sentiment.

Which of the following options is your team’s best option?

  • Azure Logic Apps (CORRECT)
  • Azure Functions

Correct: In this scenario, Azure Logic Apps is likely the best solution. 

11. Let’s say you want to send messages from an IoT device to the cloud and vice versa. 

Which IoT technology can you use to send and receive messages?

  • Azure IoT Central 
  • Azure IoT Hub (CORRECT)
  • Azure Sphere 

Correct: An IoT hub communicates to IoT devices by sending and receiving messages. Azure IoT Hub is a managed service that’s hosted in the cloud and that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages.

12. You want a pre-built customizable user interface that you can use to view and control your devices remotely.

Which IoT technology would you recommend?

  • Azure IoT Central (CORRECT)
  • Azure IoT Hub 
  • Azure Sphere 

Correct: IoT Central builds on top of IoT Hub by adding a dashboard that allows you to connect, monitor, and manage your IoT devices. 

13. In the Tailwind case study, the aim is for the appliances to send telemetry information to a centralized location for analysis and maintenance scheduling. 

Which service would you recommend?

  • Azure IoT Central 
  • Azure IoT Hub (CORRECT)
  • Azure Sphere 

Correct: An IoT hub communicates to IoT devices by sending and receiving messages.. You can use it as a central message hub for bi-directional communication between your IoT application and the devices it manages.

14. Based on what you know about the requirements in this case, which product would you recommend for Tailwind Traders?

  • Azure IoT Central (CORRECT)
  • Azure IoT Hub 
  • Azure Sphere 

Correct: Azure IoT Central is the best choice in this scenario. The Connected Logistics starter template provides an out-of-box dashboard that will satisfy many of these requirements. This dashboard is preconfigured to showcase the critical logistics device operations activity.

CONCLUSION – Microsoft Azure Serverless Technology & IoT

In conclusion, this week’s exploration of Azure serverless computing and IoT services provides you with the knowledge to effectively assess and choose the best solutions for various business scenarios. By understanding their features and applications, you’ll be well-prepared to leverage these technologies to drive innovation and operational efficiency within your organization.