Salesforce Certified B2C Commerce Developer free question 1 / 10 · Domain 1: B2C Commerce Setup
A developer opens a sandbox in a WebDAV client and wants to confirm which code version the instance currently has selected. Where is that information stored?
- In the Code Deployment list, next to the activation time column of the versions
- In the answer to the WebDAV login prompt, with the code version name typed as the password
- In memory, with the selected version shown on the Version Summary page
- In the .version file inside the Cartridges directory of the WebDAV Sites folder
Show the answer and explanation
Answer: D
Why this is correct
The page explains how to view cartridges with a browser or a WebDAV client and gives the location of a small file that records the selected version: the .version file in the Cartridges directory. When you open the directory, the client prompts for credentials, and you answer with your Business Manager username and password.
Why the other options are wrong
"In the Code Deployment list, next to the activation time column of the versions" … Code Deployment lists the versions with their modification and activation times. The Cartridge Directory page names a separate file, .version, in the Cartridges directory as the place that stores the currently selected code version.
"In memory, with the selected version shown on the Version Summary page" … The page states that the currently selected code version is stored in a file, the .version file under the Cartridges directory, so it is stored and can be read through WebDAV.
"In the answer to the WebDAV login prompt, with the code version name typed as the password" … The login prompt asks for a username and password, and the page says to use your Business Manager username and password. It does not ask for a code version.
Key points
WebDAV is one way to check on the server what was uploaded, and the Business Manager is the other. The directory that holds the cartridges is limited in name length when you use WebDAV.