PL-600 · Question #197
PL-600 Question #197: Real Exam Question with Answer & Explanation
The correct answer is C: Create a cloud flow. Use the Microsoft Graph API to get the currency conversion rate.. Automate currency conversion using a RESTful API as part of an expense approval process.
Question
A company has an expense approval process that allows expenses to be submitted in multiple currencies. An accountant converts the expense amount to USD as part of the approval process. You need to automate the conversion by using the RESTful API. What should you do?
Options
- ACreate a desktop flow. Use an Invoke web service action to get the currency conversion rate.
- BCreate a desktop flow. Use an Azure action to get the currency conversion rate.
- CCreate a cloud flow. Use the Microsoft Graph API to get the currency conversion rate.
- DCreate a desktop flow. Use a browser automation action to get the currency conversion rate.
Explanation
Automate currency conversion using a RESTful API as part of an expense approval process.
Common mistakes.
- A. Desktop flows are for automating tasks on a local machine's UI or applications, and while they can invoke web services, a cloud flow is more suitable and scalable for server-side API calls.
- B. "Azure action" is too vague and doesn't specify a direct way to get currency conversion rates via a RESTful API within a desktop flow; Azure services would typically be consumed by cloud flows.
- D. Browser automation is for interacting with web pages, which is inefficient and brittle for getting structured data like currency rates from a RESTful API compared to direct API calls.
Concept tested. Automating API calls for data conversion using cloud flows
Reference. https://learn.microsoft.com/en-us/power-automate/use-http-action
Topics
Community Discussion
No community discussion yet for this question.