HubSpot CMS for Developers Certification Answers [2021]

  • Post last modified:6 July 2021
  • Reading time:10 mins read

Here’s what you need to know before taking this exam:

  • There are 40 questions.
  • The exam takes about 40 minutes to complete.
  • You must answer 30 questions correctly to pass.
  • You must wait 12 hours between attempts.
  • You have 3 hours to complete the exam.
  • Check your answers before submitting. You can’t go back and change them after you click submit.

Good luck.

Table of Contents

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

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

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 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 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 CMS tool would you use to find the file size of a PNG?

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

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 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 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 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 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 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 is not included in HubL?

  • Loops
  • Macros
  • Filters
  • Classes

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

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

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 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 an important aspect of using HubL?

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

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

  • Lists
  • Dictionaries
  • Objects
  • Binary trees

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 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 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 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-facetedcontent.
  • Use select columns to standardize repeated values.

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

  • True
  • False

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 is NOT a feature of the HubSpot CMS of special interest to web developers?

  • Preconfigured solutions to common tasks
  • Security and updates
  • In-app and local dev workflows
  • The ability to add PHP anywhere in a template

What does the hubspot.config.yml file do?

  • Configures field names for a theme
  • Configures the relationship between local files and HubSpot CMS accounts including authentication
  • Configures account settings like system templates and navigation trees
  • Configures the relationship between a HubSpot account and the yaml preprocessor

Which of the following is possible with the command line tools?

  • Creating a new template
  • Watching for changes in local files and uploading on save
  • Creating a new module
  • All of the above

Which of the following statements about templates is NOT TRUE?

  • Templates allow content creators to do their job without having to collaborate with designers and developers during every step of creating web pages.
  • Templates have a big effect on the editing experience for content creators.
  • Templates can only be used to create one live page in the HubSpot CMS.
  • Templates are an important intersection point for developers and content editors.

Which of the following statements about templates is TRUE?

  • Templates must be purchased from a 3rd party vendor.
  • There are no requirements for header and footer content.
  • Comments are not allowed in templates because they look messy.
  • Templates use HubL to create editable areas of pages.

Which of the following statements about drag and drop areas is TRUE?

  • The dnd_area tag is all that is needed for basic drag and drop functionality in the page editor.
  • Drag and drop areas allow developers to drag scripts into their pages for rapid prototyping with handlebars.
  • Drag and drop areas must contain at least one rich text area.
  • The dnd_area tag is a special HubL tag that editors can copy and paste into the file manager to edit photos.

True or False? People hate dragging and dropping things so the HubSpot CMS does not contain this capability.

  • True
  • False

Choose all that apply. Which of the following are always good strategies for building templates?

  • Keeping content editors front of mind at all times and optimizing their editing experience.
  • Building in appropriate guardrails to help content editors quickly build pages and reduce the likelihood of errors and bugs.
  • Looking for ways to keep your codebase DRY and avoid repeated code that is prone to bugs.
  • Creating lots of blank templates that require content editors to build everything from scratch.

Which of the following statements about a healthy codebase is TRUE?

  • Repeating the same code throughout your codebase is usually preferable to abstracting and reusing code because it’s easier for novice developers to understand.
  • Developers using the HubSpot CMS are discouraged from reusing snippets of code because the cost of the CMS is prorated by file size and we would prefer that your codebase is extremely large.
  • DRY is an acronym that stands for Do Right Yesterday. It means that finishing a project early is better than taking extra time to make a codebase maintainable.
  • Reducing instances of repeated code helps to keep your codebase tidy and bug free.

Which statement about repeating module fields is FALSE?

  • Repeating fields give editors the ability to add or subtract instances of fields.
  • The HubL used to implement repeating fields uses a loop.
  • Repeating fields and flexible columns are the same thing.
  • It is also possible to use repeating field groups.

Which of the following statements about HubSpot CMS themes is TRUE?

  • Themes are a package of assets that help keep a website consistent.
  • Themes are only relevant for very large websites.
  • Themes should only contain 5 templates.
  • Themes cannot contain modules.

Choose all that apply. Which of the following options is configured in the theme.json file?

  • Name of the theme
  • Link to a preview image for the theme
  • List of account users who cannot use the theme

Which of the following statements about global partials is NOT TRUE?

  • Global partials are a good way to keep your codebase DRY.
  • Global partials can only be used on one template in a theme.
  • Global partials can be used to give content editors access to content that appears in more than one template.
  • Global partials can contain content that is not editable in the content editor.

Which of the following statements about theme fields is NOT TRUE?

  • Theme fields can give editors access to CSS properties.
  • Developers can use theme fields to make a theme extremely flexible.
  • Developers don’t need to worry about how theme fields might be used by editors because theme fields can’t be used to make a website inconsistent or difficult to navigate.
  • Theme fields can affect the appearance of an entire website.

Which of the following statements about theme modules is TRUE?

  • Theme modules should never contain styles.
  • Theme modules are a great way to keep sites stylistically consistent.
  • Theme modules need to contain a special JavaScript statement that makes them appear in the theme module section of the content editor.
  • Themes that use fields should not need modules.

If you wanted to create an unordered list from each value in a dictionary, which aspect of HubL would be most essential?

  • An expression test
  • A Loop
  • The do tagThis is not possible in HubL

Leave a Reply