Question 1
Topic: Introduction to SFRA
Skill tested: Configure a local SFRA development workspace and establish a server connection.
A developer joins a team maintaining an SFRA storefront. The source repository contains the storefront cartridges and an `sgmf-scripts`-based workflow, but the developer has not yet deployed or run the code. The team requires local editing, linting, and deployment to a nonproduction B2C Commerce instance without editing cartridge files directly in Business Manager. The instance hostname, code version, and credentials are available. Which approach best establishes the development environment?
A local workspace based on the repository supports source editing and the project's development tools; the server connection supplies the target instance and authentication details used for cartridge upload. Deploying to a selected nonproduction code version keeps development separate from the active production version. Editing deployed files in Business Manager undermines source control and repeatable builds. A storefront URL is not a cartridge upload endpoint, and the production code version is not an appropriate development target.