Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Sitecore-10-NET-Developer Exam - Topic 1 Question 7 Discussion

Prior to the creation of any content items based on templates, you have taken over the creation of data templates from a previous Developer. Based on the design plan, two templates were created, ItemA and ItemB. Both templates have three identical fields: Title, Subtitle, and Description. Based on Sitecore best practices, how would you improve the template design?
B) Set both templates to inherit from a new base template with the three duplicated fields, removing the fields from the existing templates.
A) Set the template for ItemB as a base template for ItemA and set the template for ItemA as the base template for ItemB to ensure proper inheritance.
C) Delete the templates and start over again with new templates, one for the three duplicated fields and one for all the other fields from ItemA and ItemB.
D) Set the template for ItemB as the base template for ItemA's template and delete the duplicated fields from ItemB's template.

Sitecore-10-NET-Developer Exam - Topic 1 Question 7 Discussion

Actual exam question for Sitecore's Sitecore-10-NET-Developer exam
Question #: 7
Topic #: 1
[All Sitecore-10-NET-Developer Questions]

Prior to the creation of any content items based on templates, you have taken over the creation of data templates from a previous Developer. Based on the design plan, two templates were created, ItemA and ItemB. Both templates have three identical fields: Title, Subtitle, and Description. Based on Sitecore best practices, how would you improve the template design?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Ranee
7 months ago
Honestly, I think D could lead to confusion down the line.
upvoted 0 times
...
Virgina
7 months ago
Inheritance is key, so A is a solid choice too.
upvoted 0 times
...
Tamera
7 months ago
Surprised that no one mentioned the importance of maintaining consistency!
upvoted 0 times
...
Kris
8 months ago
I disagree, starting over with C seems like a waste of time.
upvoted 0 times
...
Chantell
8 months ago
Option B makes the most sense, less duplication is always better.
upvoted 0 times
...
Catrice
8 months ago
Deleting the templates and starting over seems extreme. I wonder if option C is really necessary, though. Maybe we can just refine what we have instead?
upvoted 0 times
...
Marshall
8 months ago
I think we had a similar question about template inheritance in our last mock exam. If I recall correctly, option B was the recommended approach there too.
upvoted 0 times
...
Vilma
8 months ago
I'm not entirely sure, but I feel like setting one template as a base for the other could lead to confusion later on. Maybe option A isn't the best choice?
upvoted 0 times
...
Jarvis
8 months ago
I remember we discussed the importance of avoiding duplication in templates during our practice sessions. I think option B makes the most sense for that reason.
upvoted 0 times
...
Dwight
8 months ago
I'm pretty confident I know the answer to this one. The key advantage of mysqli over PDO is that it supports object-oriented programming, which makes the code more organized and maintainable.
upvoted 0 times
...
Arlette
8 months ago
Wait, I'm confused. Does "copying artifacts selectively" mean the same thing as optimizing images? I'm not sure I fully understand the connection here. I'll have to review my notes on multi-stage builds.
upvoted 0 times
...
Tammy
8 months ago
I'm pretty sure the /etc/shadow file contains the hashed passwords for each user, so I'll go with option C.
upvoted 0 times
...

Save Cancel