CompTIA DataX DY0-001 (V1) Practice Question

A data scientist is investigating potential replay attacks across two web servers. She has loaded the 5 GB log exports into Pandas DataFrames df1 and df2, each with columns session_id, user_id, timestamp, and request_size. Because the security team only wants sessions that occur on both servers, she needs to create a DataFrame that contains exactly those sessions and the shared columns. Which single Pandas command satisfies this requirement with minimal extra rows or columns?

  • df1.merge(df2, on="session_id", how="left", indicator=True)

  • df1.merge(df2, on="session_id", how="outer")

  • pd.concat([df1, df2]).drop_duplicates("session_id")

  • df1.merge(df2, on="session_id", how="inner")

CompTIA DataX DY0-001 (V1)
Operations and Processes
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $64
$529.00 $465.00
Bash, the Crucial Exams Chat Bot
AI Bot