Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 1 Question 76 Discussion

A developer needs to bulk export all of the Product data from an org and does not have access to Data Loader or Workbench. However, the Command Line Interface (CLI) is available. Which command allows the developer to accomplish this task?
A) sfdx force:data:treeiexport -q -x export-demo -d /tmp/sfdx-out -p
B) sfdx force:data:tree:export -Product2 -all
C) sfdx force:data:tree:export -o Product?
D) sfdxforce:data:tree:export -h

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 1 Question 76 Discussion

Actual exam question for Salesforce's B2B Commerce for Developers Accredited Professional (AP-202) exam
Question #: 76
Topic #: 1
[All B2B Commerce for Developers Accredited Professional (AP-202) Questions]

Contribute your Thoughts:

0/2000 characters
Asha
5 months ago
B is the way to go, I’ve used it before!
upvoted 0 times
...
Stephen
6 months ago
C seems off, I don't think that's valid syntax.
upvoted 0 times
...
Latrice
6 months ago
Definitely not A, that's for querying, not exporting.
upvoted 0 times
...
Terry
6 months ago
Wait, is D even a real command? Sounds sketchy.
upvoted 0 times
...
Janna
6 months ago
I think it's B, that command looks right.
upvoted 0 times
...
Franklyn
6 months ago
Option C seems off to me; I don’t recall using a question mark in CLI commands.
upvoted 0 times
...
Nathalie
7 months ago
I feel like I’ve seen a similar question before, and I’m leaning towards option A, but I’m not confident about the syntax.
upvoted 0 times
...
Curtis
7 months ago
I think option B looks familiar; it seems like the right command for exporting all Product2 records.
upvoted 0 times
...
Cecily
7 months ago
I remember practicing with the CLI commands, but I'm not entirely sure which one is for exporting data.
upvoted 0 times
...
Gilma
7 months ago
Ah, I see the trick here is that we need to specify the object name, which in this case is "Product2". Option A looks like the right command to use.
upvoted 0 times
...
Vincenza
8 months ago
I've used the `sfdx force:data:tree:export` command before, so I'm feeling pretty confident about this. I'll go with option B to export all the Product data.
upvoted 0 times
...
Hollis
8 months ago
Wait, what's the difference between options B and C? I'm a bit confused on the syntax there.
upvoted 0 times
...
Glendora
8 months ago
Okay, I think I've got this. The key is using the `sfdx force:data:tree:export` command to export the Product data. Let me double-check the syntax.
upvoted 0 times
...
Stevie
8 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the options and think through the CLI commands I've used before.
upvoted 0 times
...

Save Cancel