ExamGecko
Question list
Search
Search

List of questions

Search

Question 253 - Certified B2B Commerce Administrator discussion

Report
Export

An administrator has just provided a developer with a completely new org and a username. Assuming the username is [email protected], what is the correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components?

A.
Run the command: 'sfdx force:login -r 'https://login.salesforce.com'' and supply the credentials in the browser when it opens.
Answers
A.
Run the command: 'sfdx force:login -r 'https://login.salesforce.com'' and supply the credentials in the browser when it opens.
B.
Run the command 'sfdx force:auth:web:login -a 'https:/login.salesforce.com and then supply the credentials in the browser when it opens.
Answers
B.
Run the command 'sfdx force:auth:web:login -a 'https:/login.salesforce.com and then supply the credentials in the browser when it opens.
C.
Run the command: 'sfdx force:auth:web:login -r 'https://login.salesforce.com and then supply the credentials in the browser when it opens
Answers
C.
Run the command: 'sfdx force:auth:web:login -r 'https://login.salesforce.com and then supply the credentials in the browser when it opens
D.
Run the command 'sfdx force:auth:web:login -r 'https:/login.salesforce.com' -username='[email protected]'
Answers
D.
Run the command 'sfdx force:auth:web:login -r 'https:/login.salesforce.com' -username='[email protected]'
Suggested answer: C

Explanation:

The correct set of steps to authorize the org for Command Line Interface (CLI) access so the developer can deploy Lightning web components is to run the command: 'sfdx force:auth:web:login -r ''https://login.salesforce.com'' and then supply the credentials in the browser when it opens. This command will open a browser window and prompt the user to log in to the org using their username and password. The -r flag specifies the login URL for the org, which is https://login.salesforce.com for production or developer orgs.The command will also create an alias for the org, which can be used to reference it in other CLI commands1.Reference:1: Authorize an Org - Trailhead2

asked 23/09/2024
Karen Charllotte Aglipay
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first