Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam B2B-Commerce-Administrator Topic 1 Question 58 Discussion

Actual exam question for Salesforce's B2B-Commerce-Administrator exam
Question #: 58
Topic #: 1
Northern Trail Outfitters (NTQ) has acquired a company and is looking to manage product data across the 43s org seamlessly. The company has a governance policy to not install any tool or use third-party API applications to export or import the data into Salesforce. However, users have access to Salesforce CLI.
Which set of tasks must a developer perform whento export data from Salesforce or import data into Salesforce?

Suggested Answer: B Vote an answer

sfdx force:data:tree:export -q "SELECT Id, Name FROM Product2" -u "<your username>" and sfdx force:data:tree:import -f Product2.json -u "<your username>" Explanation:
To export data from Salesforce or import data into Salesforce, a developer can use the following set of tasks:
sfdx force:data:tree:export -q "SELECT Id, Name FROM Product2" -u "<your username>". This task will export data from the Product2 object in JSON format using a SOQL query. The -q flag specifies the query to run, and the -u flag specifies the username of the org. The task will generate a JSON file named Product2.json that contains the exported data1.
sfdx force:data:tree:import -f Product2.json -u "<your username>". This task will import data into the Product2 object from the JSON file. The -f flag specifies the path to the JSON file, and the -u flag specifies the username of the org. The task will insert or update records in the Product2 object based on the data in the JSON file2. Reference: 1: Export Data from an Org - Trailhead3, 2: Import Data into an Org - Trailhead4

by Lilith at Jun 17, 2026, 01:55 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.