A data engineer must gather recurring product data from a company that provides inventory information. The company endorses connecting through their dedicated API. Which of the following answers describes how an engineer would likely access this data?
Access the provider’s repository and copy its contents into the analytics environment as needed
Retrieve data using an authentication token via the service’s JSON interface
Extract data from the webpage layout by analyzing HTML structure using a script
Download spreadsheet files manually based on available reports
Retrieving the data using an authentication token through the service’s interface ensures a stable and secure exchange supported by the data provider. Other techniques rely on structure that can change or require additional manual effort, which can disrupt or delay the process and do not apply to using an API as the question states. Copying entire repositories often leads to excessive overhead and may include unrelated information, while script-based HTML parsing can break if the page layout changes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.