HubSpot CMS For Developers Exam Answers

HubSpot CMS For Developers Exam Answers

Which CMS tool are developers most likely to spend the most time with?

  • Editor
  • File manager
  • CRM
  • Design manager ✅ 

————————————————

Which of the following statements about HubL and JavaScript is TRUE?

  • HubL can be used in both the HTML + HubL and the JS sections of the module editor.
  • HubL tags contain a “post_js_rendering” attribute so that you can pass JS data to HubL in modules.
  • Module builders can choose between JavaScript and HubL to add module fields to their markup.
  • JS written in the HTML + HubL section of the module editor will be repeated on a page for every instance of a module. ✅ 

————————————————

Which of the following statements does NOT accurately describe HubL?

  • HubL is a templating language for building assets in the HubSpot CMS.
  • HubL provides common programming constructs like variables, loops, and conditionals.
  • HubL is not client side code.
  • HubL provides state management for single page apps. ✅ 

————————————————

Which of the following statements about module fields is TRUE?

  • Modules can contain logic fields. ✅ 
  • Modules have 7 available fields.
  • Math fields allow content editors to use modules for common tasks like long division.
  • Field groups can only contain fields of the same category.

————————————————

Which of the following is not included in HubL?

  • Loops
  • Macros
  • Filters
  • Classes ✅ 

————————————————

Which of the following HubL and HubDB behaviors should be avoided if possible?

  • Use a filter query to reduce the data returned from a request.
  • Use the reject attribute filter to create subsets of table data from an initial request.
  • Use multiple requests to the same table to build complex templates. ✅ 
  • Use loops to access data in multi-select columns.

————————————————

Which of the following statements about modules is FALSE?

  • Modules can be used to maintain consistency in site functionality.
  • Modules can be used to add consistency to website maintenance.
  • Modules can be used to create a more consistent user experience for editors.
  • None of the above. ✅ 

————————————————

Which type of CMS assets do not require HubL?

  • Custom modules
  • Drag and drop templates ✅ 
  • Coded email templates
  • Coded blog templates

————————————————

Which of the following is not an aspect of dynamic pages?

  • Dynamic pages require multiple templates. ✅ 
  • Pages are generated from table rows.
  • A published page must be linked to a dynamic page table via page settings.
  • Links to dynamic pages should be added to the listing section of a template.

————————————————

Which of the following statements about blog templates is NOT true?

  • Listing and post pages can be separate templates.
  • Templates are connected to blogs in settings.
  • Blog templates must contain an author profile and a full list of available topics. ✅ 
  • The blog content module contains listing and post HubL markup.

————————————————

Which of the following statements about HubL module syntax is untrue?

  • Basic module syntax is a single line statement.
  • HubL modules use three curly braces to open and close tags. ✅ 
  • HubL modules can be added with a block syntax.
  • HubL modules use parameters for required and optional module settings.

————————————————

Which of the following is NOT a sound strategy for working with HubDB?

  • Plan out your data needs with stakeholders before creating tables in HubDB.
  • While adding data to tables, create columns as needed and iterate as the project grows. ✅ 
  • Use multiple tables linked with foreign ids to handle complex, multi-faceted content.
  • Use select columns to standardize repeated values.

————————————————

Which of the following statements about using HubL in blog listing templates is NOT true?

  • Use a loop to add blog posts to the listing template.
  • Author name is the only author data available in the listing conditional of a template. ✅ 
  • Conditionals can be used to add or subtract content from author and topic views.
  • If you’re using one template for both the listing and post views, you’ll need a conditional to separate the markup for each view.

————————————————

Which of the following characters are used to open a HubL statement?

  • {-
  • {% ✅ 
  • [&
  • {#

————————————————

True or false? HubDB is a good place to store customer data such as credit card numbers.

  • True
  • False ✅ 

————————————————

Which of the following statements about blog settings is TRUE?

  • Content editors can assign any number of templates to individual blog posts by tag.
  • It is not possible to assign separate templates for listing and post views in settings.
  • Listing page post summaries can be enabled and disabled in settings. ✅ 
  • All blog settings can be overridden by HubL at the template level.

————————————————

Which of the following is NOT possible with HubL?

  • Passing data from HubL to client side code
  • Passing data from client side code to HubL ✅ 
  • Looping through data
  • Conditionally executing HubL statements

————————————————

Which of the following is NOT an aspect of HubDB?

  • HubDB is a semi-relational data store.
  • HubDB is a subset of fork of MySQL. ✅ 
  • HubDB uses tables to store data in rows.
  • HubDB tables are accessed with a unique ID.

————————————————

Which of the following statements about email templates is NOT true?

  • CAN SPAM fields are required.
  • You can customize the appearance of CAN SPAM content with HTML and CSS.
  • Email templates cannot contain custom modules. ✅ 
  • Email testing is accessed through the editor.

————————————————

Which of the following statements about HubL filters is TRUE?

  • HubL filters are only used in expressions.
  • HubL filters are used for a wide variety of tasks. ✅ 
  • HubL filters cannot be used in loops.
  • HubL filters do not accept arguments or parameters.

————————————————

Which of the following is NOT a system template?

  • Email subscription preferences page
  • Search results page
  • Blog preferences page ✅ 
  • Error page

————————————————

Which of the following is NOT an important aspect of using HubL?

  • Documentation
  • Memorizing all tags and parameters ✅ 
  • Community
  • Developer info

————————————————

True or false? It is not possible to publish an email without a link to at least one email subscription template.

  • False
  • True ✅ 

————————————————

True or false? Page metadata can be populated in the “Settings” section of the page editor.

  • False
  • True ✅ 

————————————————

Which of the following statements about navigation items is FALSE?

  • Navigation items can have extra URL parameters.
  • It is possible to create items without links.
  • Navigation items are automatically created when editors create a new page and cannot be created elsewhere. ✅ 

————————————————

Which statement about the “Prevent editing in content editors” option is TRUE?

  • Prevent editing in content editors is not an option in HubSpot CMS templates.
  • Prevent editing in content editors is a blog feature that allows developers to lock the number of tags in a blog.
  • Prevent editing in content editors allows content editors to set permissions levels for specific content so that other editors cannot make edits.
  • Prevent editing in content editors allows developers to set static values for components at the template level that content editors cannot modify in the page editor. ✅ 

————————————————

Which statement about template types in the HubSpot CMS is TRUE?

  • There is only one template type.
  • There are a number of different template types which can be created in either drag and drop or coded formats. ✅ 
  • The editing experience is exactly the same for every template type.
  • There are three template types.

————————————————

When creating a drag and drop template, how do you add components?

  • Components are added in “Settings.”
  • Templates are pre-populated with all the available components.
  • Components can be dragged from the “Add” section of the Inspector. ✅ 
  • Components must be coded in Javascript and uploaded via FTP.

————————————————

Which of the following is NOT available in the file manager?

  • File URL
  • HTML image snippets ✅ 
  • Replace button to swap assets
  • Template and content dependencies

————————————————

Which statement about naming components is FALSE?

  • Components can be named in the Inspector.
  • Component names help content editors understand how to use a template.
  • Component names can be the same as their default values.
  • Component names should be left at default because content editors will always get all the context they need from the editor. ✅ 

————————————————

Which of the following is NOT an important reason to familiarize yourself with available settings?

  • Some templates are coded exclusively in settings. ✅ 
  • Some settings determine data available in templates.
  • Code can be added globally in settings.
  • Web developers should advise content editors on technical aspects.

————————————————

Which statement about adding classes to groups is TRUE?

  • You must use a coded template to add classes to groups.
  • Classes added to groups of components will be added to all components inside the group.
  • Classes inside of global groups will apply to every instance of that global group in a site. ✅ 
  • Classes cannot be added to groups.

————————————————

Which of the following statements about menus in HubSpot is FALSE?

  • Navigation with more than one level is managed in settings.
  • Simple menus can be edited at the page level.
  • HubDB can be used to build totally custom menus.
  • The only way to build a menu is with the menu tool. ✅ 

————————————————

Which statement about stylesheets is TRUE?

  • When a template is created, a new stylesheet with the name of the new template is automatically created and attached to the template.
  • New stylesheets automatically include helpful but optional CSS. ✅ 
  • HubSpot stylesheets are written in Javascript
  • Stylesheets can be added to specific areas of templates with the stylesheet module.

————————————————

Which data structure does HubL use for storing data in key and value pairs?

  • Lists
  • Dictionaries ✅ 
  • Objects
  • Binary trees

————————————————

Which of the following CMS tools is used in CAN-SPAM compliance?

  • Navigation in settings
  • Email settings ✅ 
  • The replace button in file details
  • The templates tab in blog settings

————————————————

Which statement about module fields is FALSE?

  • It’s a good idea to give fields an intuitive and descriptive name to help content editors use your modules.
  • Fields have HubL variable names that are used to create the markup for modules.
  • Fields can be required but there’s no support for custom validation. ✅ 
  • The available options for fields vary depending on the field type.

————————————————

True or false? System templates are not published from templates by content editors.

  • True ✅ 
  • False

————————————————

Which of the following sets of data would NOT be a good fit for storing in a single HubDB table?

  • Names, titles, and biographies of employees of an organization
  • A dinner menu for a restaurant
  • Information about cats available for adoption from an animal shelter
  • Product inventory, hex values for internal branding guidelines, vendor contact archive ✅ 

————————————————

Which of the following statements about the design manager is NOT true?

  • The design manager is an IDE.
  • The design manager helps developers build and manage assets.
  • The design manager is used by content editors to publish pages. ✅ 
  • The design manager can be used to edit CSS files.

————————————————

Which statement about CSS in modules is TRUE?

  • CSS rules will have the same effect on the page whether they’re written in the CSS section or the HTML+ HubL section of the module editor.
  • Module CSS is automatically scoped to modules and will not apply to other elements on a page.
  • CSS added to the HTML+ HubL section of the module editor will be repeated on the page in every instance of a module. ✅ 
  • Modules require custom CSS and cannot be published without it.

————————————————

Which of the following statements about HubL in modules is TRUE?

  • Modules must contain custom HubL and cannot be published without it.
  • HTML attributes cannot contain HubL code.
  • Module fields are added to module markup with HubL. ✅ 
  • The drag and drop editor allows you to write HubL in a custom module without having to write code.

————————————————

Which of the following statements about blog templates is TRUE?

  • Any template can be used for blogs.
  • Blog templates cannot contain custom modules.
  • To build a blog template, you must write custom HubL.
  • Only blog templates can be used for blogs. ✅ 

————————————————

Which of the following statements about accessing HubDB via Javascript is NOT true?

  • Most GET requests only require a table ID.
  • Modifying table data requires authentication.
  • Using an API key in client side code is a bad idea.
  • As long as your Javascript is written in the CMS, it can be used to modify table data. ✅ 

————————————————

Which CMS tool would you use to find the file size of a PNG?

  • Email settings
  • File manager ✅ 
  • Blog editor
  • Website pages settings

————————————————