Visit Official SkillCertPro Website :-
For a full set of 150+ questions. Go to
https://skillcertpro.com/product/salesforce-certified-b2c-commerce-developer-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 1:
After configuring the storefront catalog for your site you realize that one of your main categories is not displaying. What could be the reason?
A. No search refinement definitions are defined for this category
B. Categories must be online in order to be visible.
C. Products must be assigned to categories to be shown on the storefront.
D. There are no sorting rules assigned to this category.
Answer: B, C
Explanation:
The category online attribute indicates whether the catalog category is “currently online“. A category is currently online if its online flag equals true and the current site date is within the date range defined by the onlineFrom and onlineTo attributes. More info in the Category Class.
It‘s also important to remember that you can schedule the online and offline status of categories prior to when you want the categories deployed on your storefront. (Schedule categories)
Question 2:
What should be the correct cartridge path if you want to add some extra data in the Checkout-Begin controller?
A. app_storefront_base:int_cybersource_sfra:app_storefront_base
B. app_storefront_custom:int_cybersource_sfra:app_storefront_base
C. int_cybersource_sfra:app_storefront_base:app_storefront_custom
D. app_storefront_base:app_storefront_custom:int_cybersource_sfra
Answer: B
Explanation:
For this specific question we assume that your Site is using int_cybersource_sfra cartridge to add extra functionalities to the checkout process. So, if you want to add extra data you have to use a custom cartridge app_storefront_custom because it‘s not a good practice modify 3rd party cartridges or the app_storefront_base.
It‘s for that reason that your custom cartridge should be the first one in the cartridge path because Salesforce starts the execution in the reverse order. First execution of Checkout-Begin corresponds to the default behavior implemented in the app_storefront_base, then extra functionalities are added by the int_cybersource_sfra cartridge and finally your implementation in theapp_storefront_custom cartridge for the Checkout-Begin controller will add the extra data.
Question 3:
During weekly service inspection it was found that the service has lots of unavailable calls, how do you fix this?
A. Add a try-catch code block to handle these calls.
B. Enable circuit breaker in service profile.
C. Increase connection service timeout on service profile.
D. Enable rate limit in service profile.
Answer: C
Explanation:
The rate limiter allows a maximum number of calls to a web service in a specified time interval. The rate limit is checked prior to every invocation of the web service. If the rate limit is reached, a ServiceUnavailableException is thrown.
The circuit breaker suspends calls to a web service if a certain number of calls fail within a specified time interval.
The connection service timeout is one of the parameters that Circuit Breaker takes in account in order to suspends call to a webservice if necessary. So, for sure circuit breaker should be enabled but in this case the connection service timeout should also be configured.
You shouldn‘t handle the timeouts and so on with try/catch code blocks by your own. The Salesforce WebService API if it‘s properly implemented can handle it by itself.
Question 4:
Which is the correct syntax for passing variable attributes to a log message?
A. Logger.warn(‘Content asset with ID ‘ + JSON.parse(req.querystring.cid) + ‘ is offline‘);
B. Logger.warn(′Content asset with ID ${req.querystring.cid} is offline′);
C. Logger.warn(‘Content asset with ID ‘ + req.querystring.cid + ‘ is offline‘);
D. Logger.warn(‘Content asset with ID {0} is offline‘, req.querystring.cid);
E. Logger.warnWithParams(‘Content asset with ID {0} is offline‘, req.querystring.cid);
Answer: B, D
Explanation:
Check out the Class Logger to know more about Logging in SFCC.
First parameter in the method warn (same for error, debug or info) is the text of the message and the next parameters allows you to pass params to the message just by replacing the {0}, {1}, {2} etc. found in the message.
In the 22.7 update Salesforce allows literal template, so this would work without need to pass parameters because of the literal template update.
Logger.warn(′Content asset with ID ${req.querystring.cid} is offline′);
Question 5:
Cache for stored pages are only invalidated and a new one pulled from the Application Server when:
A. The administrator modifies TTL value to “No cache“ in Administration > Sites > Manage Sites > Cache.
B. The merchant triggers an explicit page cache invalidation in Business Manager
C. The administrator modifies TTL value to 0 in Administration > Sites > Manage Sites > Cache.
D. The defined caching time is exceeded or a replication is performed
Answer: B, D
Explanation:
As you can see, we have two types of cache Static (for resources like css, javascript and non dynamic assets) and the Page cache that is related to this exam topic.
So reading this section we found that Stored pages are only invalidated and a new one pulled from the Application Server if any of the following happen:
the defined caching time is exceeded
a replication is performed
the merchant triggers an explicit page cache invalidation in Business Manager
For a full set of 150+ questions. Go to
https://skillcertpro.com/product/salesforce-certified-b2c-commerce-developer-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 6:
In which situation would you use $url$ over $include$?
A. When you need to create an absolute URL that retains the protocol of the outer request.
B. When you need to create an absolute URL, but with the http protocol.
C. When you need to include the result of another server call.
D. When you need to create an absolute URL, but with the https protocol.
Answer: B
Explanation:
$url$ generates an URL using the same protocol as the request has be done. For example:
– If current URL is https://www.mystore.com and inside the homepage.isml you are using $url(‘Search-Show‘,‘cgid‘,‘mens‘)$ content link function it will point to https://www.mystore.com/clothing/mens/
– If current URL is http://www.mystore.com and inside the homepage.isml you are using $url(‘Search-Show‘,‘cgid‘,‘mens‘)$ content link function it will point to http://www.mystore.com/clothing/mens/
Question 7:
In your site you have a master catalog with all available products for the current site, but not all of them are assigned to the storefront catalog. How would you do an export with just products assigned to the storefront catalog?
A. Merchant Tools > Online Marketing > Import & Export > Export the storefront catalog for current site.
B. Administration > Site Development > Site Import & Export > Export Catalogs > Select storefront catalog for current site.
C. Merchant Tools > Product & Catalogs > Import & Export > Catalogs Export. Select master catalog with specific products and then in the advanced search, under category assignment select any category for your storefront catalog.
D. Create a new process on Mulesoft in order to perform the export by using OCAPI export endpoint.
Answer: C
Explanation:
Regarding this topic, remember that storefront catalog usually doesn‘t have the product definition (it should be done in the master catalog). So, how can we export products assigned to the storefront?
Under the Import & Export section in the Products & Catalog, you can customize the way your export is done. You can just export the entire catalog or a few products (you can export catalog in CSV format as well). So to achieve what is requested to you the key is in the advance product search.
Question 8:
Client asks you to add a new locale for your current site. How can you do it?
A. Business Manager > Merchant Tools > Select Site > Site Preferences > Locales
B. Business Manager > Administration > Locales
C. Business Manager > Merchant Tools > Select Site > Global preferences > Locales
D. Business Manager > Administration > Global preferences > Locales
Answer: A, D
Explanation:
If the locale you‘re trying to assign to your Site is new you‘ll probably need to add it in the Administration > Global Preferences. Locales added under this sections are ready to be used for the different Sites for the current instance.
Once you have the locale properly configured under Global Preferences you‘ll be able to add the specific locale to the desired Site in the Business Manager > Merchant Tools > Select Site > Site Preferences > Locales
Question 9:
How can you replicate your sandbox custom preferences to staging and production instances?
A. Do changes manually in staging and replicate to production.
B. Export your sandbox custom preferences and import them to staging and then data replication to production.
C. Data replication from your sandbox targeting production.
D. Data replication from your sandbox targeting staging.
Answer: A, B
Explanation:
Remember that STAGING is the only instance where replications can be done. From staging you can replicate to development or production but never to DEMO or SANDBOXES.
So, you cannot replicate from SANDBOX to STAGING. Your options are doing it manually on staging or export your sandbox preferences carefully and import to staging and then perform a replication to production.
Question 10:
You‘re dealing with an implementation to add some banners and a text to a landing page. After some time working on it when trying to visualize the changes you realize that your code is not working, what might be the reason?
A. 500 Error. Check sandbox logs
B. Customer service is under maintenance mode
C. Wrong connection details in dw.json
D. Wrong code version activated
Answer: A, C, D
Explanation:
You should take care that the code version activated for your instance in the Business Manager is the same where you upload the code.
Check that all details in your dw.json files are correct. Sometimes we forget to update the password after it expires or maybe you‘re working on a new cartridge and you forget add it in the dw.json.
Another important thing to take a look is to the logs. Maybe there‘s an error there causing your changes didn‘t work as expected.
For a full set of 150+ questions. Go to
https://skillcertpro.com/product/salesforce-certified-b2c-commerce-developer-exam-questions/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.