HubSpot CMS for Developers II Certification Exam Answers 2024

Exam Name: HubSpot CMS for Developers II Certification Exam

Exam URL: https://app.hubspot.com/academy/4448758/tracks/1072124/exam

Download HubSpot CMS for Developers II Certification Answers – PDF

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

  • There are 60 questions.
  • You have 180 minutes to complete the exam.
  • You must wait 12 hours between attempts.

Good luck.


(Click on the questions to get the correct answers)

1. Creating a form that can be completed and submitted using the keyboard only adheres to which WCAG principle?

2. Creating a user interface that is consistent across pages adheres to which WCAG principle?

3. To make it easier for individuals using assistive technology to navigate your page, use _________ to organize the page’s content.

4. Fill in the blank: Use a _________ class to hide elements visually while keeping them accessible to screen readers.

5. The WCAG are broadly divided into four principles. Which of the following is NOT one of those principles?

6. True or false? Every <img> element should have alternative text.

7. True or false? If your website doesn’t have automatically detectable accessibility issues, it might still have accessibility barriers.

8. Select all that apply. What are some web accessibility best practices you should account for near the beginning of a project?

9. Select all that apply. When performing manual keyboard testing on your page, what should you check for?

10. Select all that apply. Which of the following are HTML semantic elements?

11. Select all that apply. Which of the following is an example of a web accessibility optimization that also benefits most of your users?

12. Which of the following is NOT a common accessibility error found on web pages?

13. Which of the following is NOT a web accessibility best practice?

14. Which of the following is NOT an element of manual accessibility testing?

15. Select all that apply. Which of the following make page navigation more efficient for those using assistive technology?

16. Writing valid HTML adheres to which WCAG principle?

17. Consider this scenario: You are loading a script (script 1) on your page which two other scripts rely on to function (scripts 2 and 3). All of these scripts can be safely executed after construction of the DOM. Which of the following approaches would work when loading these scripts? Select all that apply.

18. Fill in the blank: _____________ refers to how long it takes the browser to take your site’s files and paint the pixels to the page.

19. Fill in the blank: Adding width and height attributes to images helps reduce _________________.

20. The ____________ is the browser’s representation of the page’s styles.

21. Fill in the blank: The ___________ is a combination of both the DOM and CSSOM.

22. Fill in the blank. Defer loading of non-critical CSS by adding ______ as an argument in your require_css function call.

23. Fill in the blank. Many browsers support native image lazy-loading using the _________ attribute.

24. Fill in the blank. To provide a good user experience, a Largest Contentful Paint of ___________ or less is recommended.

25. If your site has consistently poor Total Blocking Time scores, which approach should you take to improve this metric?

26. Select all that apply. What can you do to optimize images within a custom module?

27. What is Largest Contentful Paint?

28. Select all that apply. Which of the following are Core Web Vitals?

29. Which of the following is most likely to block page interactivity?

30. Fill in the blank: Use the ________ statement to use the same base template across multiple page templates.

31. Select all that apply. How can you help content creators more easily work with modules?

32. In the CMS Boilerplate, what is the filename of the common template used as the foundation for all page templates?

33. True or false? You can add a brand setting token to a theme’s fields.json file to allow content editors to edit its value.

34. What would you use to access the tertiary brand color in a theme’s fields.json file?

35. Select all that apply. Where can you access a brand color that you’ve set in the account’s brand settings?

36. Select all that apply. Where can you access a brand logo that you’ve set in your account’s brand settings?

37. Which file does the CMS Boilerplate use to apply the styles set in the theme’s settings?

38. Select all that apply. Which of the following fields should you include in your theme’s fields.json file?

39. Select all that apply. Which of the following best describes modules?

40. Which of the following is NOT a system template?

41. Which of the following is NOT a valid brand logo attribute?

42. Which of the following section template annotations will help a content editor easily visualize a section in the page editor?

43. Which of the following would be NOT be an appropriate class name to use in a theme called “Blue Horizons”?

44. Select all that apply. Which style fields have a generated .css property?

45. Within a module, where should you place instance-specific styles?

46. Fill in the blank: Google recommends a font size of at least _______ on at least 60% of the text on your page.

47. Fill in the blank: Google recommends that tap targets should be at least ___________ apart from each other.

48. Fill in the blank: Google’s main crawler is known as __________.

49. Fill in the blank: If you want a page’s new URL to appear in search results, use _____________.

50. Fill in the blank: Google displays structured data in SERPs as _________.

51. Fill in the blank: The primary function of a robots.txt file is_______________.

52. Fill in the blank: Your page must undergo_________, in order for Google to view any JavaScript-generated content.

53. Fill in the blank. If you want a page that’s temporarily down to still appear in search results for some time, use _____________.

54. Select all that apply: In order to account for mobile-first indexing, you should:

55. Select all that apply. What can you use sitemaps for?

56. What effect will this line in robots.txt have on Google’s crawling behavior? # Disallow: /

57. Select all that apply. What is a canonical URL?

58. What is the recommended format for adding structured data to pages?

59. Select all that apply. When might you use a redirect?

60. Select all that apply. Which of the following will prevent a page from appearing in Google’s search results?

61. A skip to content link should skip to which landmark element on the page?

62. Providing text alternatives for non-text content adheres to which WCAG principle?

63. True or false? Automated testing is sufficient to test for appropriate use of alternative text.

64. True or false? Part of making a form input accessible is including include a label for the input.

65. Select all that apply. Which elements should receive focus as you tab through a web page?

66. Consider the line of code below. If you were to load a script in this way, what would be the result? {{ require_js(get_asset_url(“./path/to/file.js”), { async: true }) }}

67. Fill in the blank: _______ is the process through which all unnecessary characters are removed from a file.

68. Fill in the blank: Add the ________ attribute to your script to tell the browser to execute it after construction of the DOM.

69. Select all that apply. Which of the following are examples of render-blocking resources?

70. Select all that apply. What is Cumulative Layout Shift?

71. Select all that apply. What is First Input Delay?

72. What is the first step of the Critical Rendering Path?

73. Which HubL function can you use to control the size of the images that appear on your website?

74. Fill in the blank: Use the __________ tag to include multiple CSS partial files within a single CSS file.

75. Fill in the blank: When a boolean field controls a major layout change, use a _________.

76. True or false? All themes must contain at least 10 section templates.

77. Select all that apply. When should you create a section template instead of a module?

78. Select all that apply. Which of the following module elements would be a good candidate for a style field?

79. Select all that apply. When it comes to SEO, developers are usually responsible for:

80. True or false: Using structured data guarantees that Google will make a rich snippet for your page.

81. Select all that apply. Which of the following are good examples of descriptive link text?

82. Scenario: Your colleague has told you that they’d like a landing page to not appear in search results. You notice that this landing page URL is already disallowed in robots.txt. What should you do to guarantee the page doesn’t appear in Google’s search results?

83. True or false? Comprehensive knowledge of the WCAG is necessary before beginning to implement web accessibility best practices.

84. What is the final step of the Critical Rendering Path?

85. Which of the following is NOT a step in the Critical Rendering Path?

86. True or false? Sections provide a built-in way to set a background image.

87. A ____________ status code indicates a temporary redirect.

88. Fill in the blank: Sitemaps are _______ files that provide search engines information about the structure of your site.

89. Which of the following is NOT a component of how a web page ends up in search results?