New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Exam - Topic 7 Question 61 Discussion

Actual exam question for Salesforce's Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) exam
Question #: 61
Topic #: 7
[All Salesforce Certified B2C Commerce Cloud Developer (Comm-Dev-101) Questions]

A developer has the following files in template/resources:

account.proierties

weight.unit=kilos

account_en.propierties

weight.unit=stones

account_en_US.propierties

weight.unit= pounds

Using the default locale configuration, what is the current outcome of the page that renders the

account.isml template snippet below when visiting the Sofrefront with the English for Canada(en_CA) locale=

Your parcel weighs 10 ${Resource.msg('weight.unit','account')}

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Catina
3 months ago
Definitely going with option B, "pounds"!
upvoted 0 times
...
Freeman
3 months ago
Wait, why are there different units for English locales?
upvoted 0 times
...
Helaine
3 months ago
I thought en_CA would use "kilos" instead.
upvoted 0 times
...
Stephaine
4 months ago
So, it should show "pounds" for en_CA, right?
upvoted 0 times
...
Shantay
4 months ago
The default locale is en_CA.
upvoted 0 times
...
Zona
4 months ago
I recall that if there's no exact match, it might just return "undefined." But I also think it could default to kilos since that's the base.
upvoted 0 times
...
Loreta
4 months ago
I practiced a similar question, and I feel like the answer could be "C" because it might not find a match for en_CA at all.
upvoted 0 times
...
Fabiola
4 months ago
I'm not entirely sure, but I remember something about fallback mechanisms in localization. Could it be that it defaults to kilos since that's in the base properties file?
upvoted 0 times
...
Valda
5 months ago
I think the default locale will look for the closest match, so it might go with the English properties file.
upvoted 0 times
...
Joaquin
5 months ago
Wait, I'm not sure about that. The question mentions that the Storefront is using the English for Canada (en_CA) locale, but the `account_en_US.properties` file has the weight unit set to "pounds". I'm going to double-check the resource bundle resolution logic to make sure I'm understanding this correctly.
upvoted 0 times
...
Mitsue
5 months ago
Okay, I think I've got this. Since the default locale is set to en_CA, the system should use the `account_en.properties` file, which has the weight unit set to "stones". So the expected output should be "Your parcel weighs 10 stones."
upvoted 0 times
...
Rosann
5 months ago
Hmm, I'm a bit confused by the different property files and the weight unit values. I'll need to think through how the system determines the appropriate resource bundle to use based on the locale.
upvoted 0 times
...
Leah
5 months ago
This looks like a tricky question about resource bundle handling and locale-specific configuration. I'll need to carefully review the file structure and the default locale settings to determine the expected output.
upvoted 0 times
...
Emilio
5 months ago
The key here is that the question is specifically asking for the command to generate the dossier information. Based on that, I think option A is the correct answer. I'll double-check the syntax, but I'm feeling good about this one.
upvoted 0 times
...
Theodora
5 months ago
Okay, let me think this through step-by-step. The question is asking about the error message to be placed in the print statement, so I need to consider the context of the REST API error and choose the most relevant response.
upvoted 0 times
...
Marquetta
5 months ago
Hmm, this question seems a bit tricky. I'll need to carefully read through the options and think about which Cisco DNA Center features are needed to add legacy support to the platform.
upvoted 0 times
...
Reita
5 months ago
Okay, let me make sure I understand this. The "name" attribute is what creates the name=value pairs when the form data is submitted. I think I've got it now.
upvoted 0 times
...
Elmer
10 months ago
Who needs properties files when you can just hard-code the weight units? 10 stone, 10 pounds, 10 kilos - it's all the same to me!
upvoted 0 times
Rebeca
8 months ago
User3: Hard-coding can lead to errors and make it difficult to update in the future.
upvoted 0 times
...
Rosamond
9 months ago
User2: I agree, it helps maintain consistency across different locales.
upvoted 0 times
...
Selma
9 months ago
User1: It's important to use properties files for localization.
upvoted 0 times
...
Jennifer
9 months ago
User1: True, it's important for localization and internationalization.
upvoted 0 times
...
Verlene
9 months ago
User2: I agree, using properties files ensures consistency in the application.
upvoted 0 times
...
Janna
10 months ago
User1: Hard-coding weight units can lead to inconsistencies.
upvoted 0 times
...
...
Thad
10 months ago
Hold on, we have multiple properties files, but no en_CA file? That's like trying to find a needle in a haystack. I'll just guess and hope for the best.
upvoted 0 times
...
Nickie
10 months ago
I'm not sure, but I think D) Your parcel weighs 10 kilos could also be a possibility if the default locale configuration is different.
upvoted 0 times
...
Felix
11 months ago
I'm stumped. C seems like the right answer, since the resource key 'weight.unit' is not defined in the account_en_CA.properties file.
upvoted 0 times
Francisca
10 months ago
User2: I agree, C seems to be the most logical choice in this scenario.
upvoted 0 times
...
Rhea
10 months ago
User1: I think the answer is C, since 'weight.unit' is not defined in the account_en_CA.properties file.
upvoted 0 times
...
...
Lili
11 months ago
I'm going with B. The account_en_US.properties file sets the weight.unit to pounds, and since we're using the default locale, that should take precedence.
upvoted 0 times
Camellia
9 months ago
Oh, I see your point. B does make sense considering the specific locale configuration. Thanks for clarifying!
upvoted 0 times
...
Deeanna
9 months ago
Actually, I believe it's B. The account_en_US.properties file specifically sets the weight.unit to pounds, overriding the default kilos.
upvoted 0 times
...
Elroy
9 months ago
I agree with you, D seems like the correct option based on the file configurations.
upvoted 0 times
...
Kendra
10 months ago
I think it's D. The account.properties file sets the weight.unit to kilos, which should be the default.
upvoted 0 times
...
...
Edgar
11 months ago
Hmm, I think the answer is D. The default locale is en_CA, and the weight.unit property is set to kilos in the account.properties file, so it should display the weight in kilos.
upvoted 0 times
...
Ludivina
11 months ago
I agree with Raina, the locale is set to en_CA so it should use the account_en.propierties file which has weight.unit=pounds.
upvoted 0 times
...
Raina
11 months ago
I think the answer is B) Your parcel weighs 10 pounds.
upvoted 0 times
...

Save Cancel