A data analyst needs to gather daily pricing data for a list of products from several e-commerce websites. After confirming that the websites do not offer a data feed or an API, the analyst plans to use a script to automatically visit each product page and extract the price from the site's HTML. Which data acquisition technique is the analyst planning to use?
The correct answer is Web scraping. This technique involves using an automated script or bot to extract data directly from the HTML of websites. It is commonly used when data is publicly visible on a site but not available through a structured method like an Application Programming Interface (API).
API integration is incorrect because the scenario explicitly states that an API is not available. An API provides a structured, predefined way for applications to communicate and exchange data, which is different from parsing raw HTML.
Database querying is incorrect because this method involves retrieving data from a structured database, typically using a language like SQL. The data source in the scenario is external websites, not an internal or accessible database.
Log file analysis is incorrect as it involves examining machine-generated log files from servers, applications, or networks to monitor activity, troubleshoot issues, or investigate security events. This is fundamentally different from extracting content from a public webpage.
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.
What is Web scraping?
Open an interactive chat with Bash
How does Web scraping differ from API integration?
Open an interactive chat with Bash
What are some common tools or libraries used for Web scraping?
Open an interactive chat with Bash
CompTIA Data+ DA0-002 (V2)
Data Concepts and Environments
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .