1. Subject: Templating - Template Basics
    What are the three types of template in Magnolia CMS?
    A - Pages, areas and components
    B - Pages, areas and forms
    C - Frames, forms and components
    D - Pages, lists and forms
    E - Sections, frames and forms
    Correct answer: A

  2. Subject: Templating - Template Basics
    What is the name of the smallest block of content that editors can edit, delete and move as a single unit on a page?
    A - Component
    B - Form
    C - Area
    E - Paragraph
    F - Section
    Correct answer: A

  3. Subject: Templating - Template Basics
    What are all the template types that can configure and use an area? 
    A - Pages, areas and components
    B - Pages and components 
    C Templates, paragraphs and atoms
    D - Dialogs, forms and actions
    Correct answer: A

  4. Subject: Templating - Template Basics
    What is the purpose of a page template?
    A - A page template renders the page's content and defines the page's area structure.
    B - A page template renders the page's content and defines the HTML output of the components.
    C - In Magnolia CMS a page template is an editing tool used by designers to create the layout of a page.
    Correct answer: A

  5. Subject: Templating - Template Basics
    What is the purpose of a component template?
    A - A component template enables the possibility to add different kinds of content such as teasers, calendar and text and image.
    B - A component template defines the HTML output of the components and renders pre-defined Lorem Ipsum texts.
    C - A component template defines how many components editors can add in its area.
    D - A component template enables the flexibility of content by rearranging their order between areas.
    Correct answer: A

  6. Subject: Templating - Template Basics
    An author would like to add a text and image component into the page.
    When adding  the Text and Image component, which template type is used?

    A - Component template
    B - Page template
    C - Area template
    D - Content template
    Correct answer: A
                   

  7. Subject: Templating - Template Basics
    In a Magnolia page, areas control the page's sub-structures.
    What is one of the benefits of sub-structuring pages into areas? 
    A - An area allows controlling what components editors can add into this specific part of the page.
    B - It enables authors to edit content of its components.
    C - It provides repeatability within the pages.
    D - A page area defines how many sub-components editors can add into a component of that area.
    Correct answer: A

  8. Subject: Templating - Template Basics
    Magnolia's second development approach simplifies and speeds up development in Magnolia.
    Which development approach is being referred to in this description?
    A - Light Development
    B - JCR Development
    C - Java Development
    D - Web Development
    Correct answer: A

  9. Subject: Templating - Template Basics
    You would like to make use of the file system to configure Magnolia templates.
    Which development approach should you use?
    A - Light Development
    B - Java Development
    C - JCR Configuration
    D - Classpath
    Correct answer: A

  10. Subject: Templating - Template Basics
    Until Magnolia 5.4 the only way to create template definitions was using the 'configuration by JCR' mechanism.
    In Magnolia 5.4, an additional mechanism 'configuration by file' was introduced.
    Which file type is used for the 'configuration by file' mechanism?
    A - YAML
    B - ROOT
    C - JSON
    D - XML
    Correct answer: A

  11. Subject: Templating - Template Basics
    A Light Development template needs two configuration files and one template file.
    What are the two types of these files?
    A - YAML and FTL files
    B - JRC and FTL files
    C - Class and Scripts files
    D - YAML and Java files
    Correct answer: A

  12. Subject: Templating - Template Basics
    Only one statement is TRUE about Light Development.
    Identify the CORRECT statement.
    A - In Light Development certain configurations such as templates, dialogs and apps can be created in the file system.
    B - Only Java developers are qualified to work on the file system for defining certain certain configurations such as templates, dialogs and apps.
    C - Some of the minimum requirements of Light Development are SDK and a Java IDE.
    D - Light Development is a Magnolia EE bundle edition providing a light weight set of development UIs.
    Correct answer: A

  13. Subject: Templating - Template Basics
    What is one of the main benefits of the Light Development approach?
    A - The front-end developer can purely operate on the file system.
    B - The front-end developer can create configurations in JCR by using out of the box wizards.
    C - The back-end developer can add Java code without using an IDE.
    D - The front-end developer can also achieve everything a back-end developer can, purely using the file system.
    Correct answer: A

  14. Subject: Templating - Template Basics
    What is one of the main benefits of the Light Development approach?
    A - Important templating configurations such as templates, dialogs and apps do not need to be defined in JCR anymore.
    B - Important templating configurations such as templates, dialogs and apps can be pushed easier into JCR.
    C - The front-end developer can create configurations in JCR by using out of the box wizards.
    D - The back-end developer can add Java code without using an IDE.
    Correct answer: A

  15. Subject: Templating - Template Basics
    What is one of the main benefits of the Light Development approach?
    A - All a front-end developer needs to start templating is a running Magnolia Demo Bundle.
    B - All a front-end developer needs to start templating is a YAML editor.
    C - The front-end developer can create configurations in JCR by using out of the box wizards.
    D - The front-end developer can also achieve everything a back-end developer can, purely using the file system.
    Correct answer: A

  16. Subject: Templating - Template Basics
    Where can a front-end developer work on his YAML files?
    A - Any text editor of his choice.
    B - Only Atom app.
    C - Only Mangnolia compatible applications.
    D - Any open source text editor.
    Correct answer: A

  17. Subject: Templating - Template Basics
    When referencing web resources using resfn, is it possible to reference CSS and JS files of two dedicated light modules this way:

    ${resfn.js(["/my-light-module/.*js", "/new-module/.*js"])} ${resfn.css(["/my-light-module/.*css", "/new-module/.*css"])}

    A - YES
    B - NO
    Correct answer: A

  18. Subject: Templating - Template Basics
    Below is an example of dynamically referencing a CSS resource:

    ${FUNCTION.css("/my-light-module.*css")}

    However, the function used is missing. Which templating function that generates HTML elements that link to CSS and JS resource files in the project should be used?
    A - resfn
    Correct answer: A (Fill in the blanks)

  

  • No labels