Home » HubSpot CMS for Developers II Certification Exam Answers

HubSpot CMS for Developers II Certification Exam Answers

HubSpot CMS for Developers II Certification Exam Answers. Get all of the validated answers for the hubspot cms for developers ii certification exam . Ideal for quick and fast review or getting ready for the actual test. if you have short time then you are on right place.

HubSpot CMS for Developers II Certification Exam Answers

This is the hubspot cms for developers ii certification exam with 100% correct answers:

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

  1. Learn more
  2. Click here

Q2: 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?

  1. Add a noindex meta tag to the page
  2. Nothing. Because the page URL is already disallowed in robots.txt, it can never appear in Google’s search results
  3. Remove the meta title and description from the page so that Google can’t display it in SERPs.

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

  1. True

Q4: What is the final step of the Critical Rendering Path?

  1. Layout
  2. Interactivity
  3. Construction of the render tree

Q5: Which of the following is NOT a step in the Critical Rendering Path?

  1. Paint
  2. Layout
  3. Creation of the render tree

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

  1. False

Q7: A ____________ status code indicates a temporary redirect.

  1. 200
  2. 301
  3. 404

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

  1. HTML
  2. JSON-LD
  3. JavaScript

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

  1. Rendering
  2. Indexing
  3. Crawling

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

  1. span

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

  1. Using generic link text like “click here”
  2. Removing the outline from focused elements

Q12: Which of the following is NOT a common accessibility error found on web pages?

  1. Missing form input labels
  2. Missing alternative text for images
  3. Low contrast text

Q13: Which of the following is NOT a web accessibility best practice?

  1. Including a skip to content link
  2. Using landmark elements
  3. Including labels for form inputs

Q14: Which of the following is NOT an element of manual accessibility testing?

  1. Keyboard testing
  2. Zooming in on your page using the browser’s native zooming feature
  3. Screen reader testing

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

  1. Including labels for form controls

Q16: Writing valid HTML adheres to which WCAG principle?

  1. Perceivability
  2. Operability
  3. Understandability

Q17: 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.

  1. Load all 3 scripts with the defer attribute, making sure to include script 1 first in the HTML.
  2. It doesn’t matter. The scripts can be executed in any order.

Q18: 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.

  1. Loading performance
  2. First Input Delay
  3. Time to Interactive

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

  1. First Input Delay
  2. Total Blocking Time
  3. Time to Interactive

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

  1. First Contentful Paint
  2. DOM
  3. render tree

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

  1. Largest Contentful Paint
  2. Cumulative Layout Shift
  3. Critical Rendering Path

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

  1. {defer: true}
  2. {position: footer}
  3. {type: defer}

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

  1. defer
  2. async
  3. preload

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

  1. 3 seconds
  2. 5 seconds
  3. 1 second

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

  1. Remove all videos from your site that are 1MB or larger
  2. Optimize images and use srcset and sizes attributes to provide the browser multiple image options depending on the user’s device
  3. Self-host fonts instead of fetching them from a third party

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

Q27: What is Largest Contentful Paint?

  1. A measure of how long it takes the browser to render the first piece of DOM content after a user navigates to your page
  2. A measure of visual stability
  3. Both A & C

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

  1. First Contentful Paint

Q29: Which of the following is most likely to block page interactivity?

  1. Inline CSS
  2. Large video files
  3. Unoptimized images

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

  1. include
  2. set
  3. require_html

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

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

  1. layout.html
  2. index.html
  3. home.html

Q33: 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.

  1. False

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

  1. brandSettings.TertiaryColor
  2. brandSettings.colors[3]
  3. brandSettings.tertiaryColor

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

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

  1. Within a theme’s fields.json file

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

  1. main.css
  2. fields.css
  3. _layout.css

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

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

  1. Full-width, fixed layout elements

Q40: Which of the following is NOT a system template?

  1. Email subscription preferences page
  2. Search results page
  3. Error page

Q41: Which of the following is NOT a valid brand logo attribute?

  1. brandSettings.primaryLogo.alt
  2. brandSettings.primaryLogo. width
  3. brandSettings.primaryLogo.src

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

  1. label
  2. description
  3. templateType

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

  1. bh-button
  2. blue-horizons-header
  3. bh-header

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

Q45: Within a module, where should you place instance-specific styles?

  1. Within the module.css portion of the module
  2. Within the module.js portion of the module
  3. Within the module’s meta.json file

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

  1. 14px
  2. 16px
  3. 18px

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

  1. 10px
  2. 12px
  3. 16px

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

  1. Google Spider
  2. Searchbot
  3. the Google Crawler

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

  1. a temporary redirect
  2. structured data
  3. your website’s sitemap

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

  1. featured snippets
  2. a blog post schema
  3. a featured image

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

  1. to prevent pages from appearing in search results
  2. to tell search engines about which of your site’s pages you’d like them to crawl
  3. to control exactly which pages appear in search results

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

  1. indexing
  2. ranking
  3. crawling

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

  1. a permanent redirect
  2. your site’s robots.txt file
  3. the noindex meta tag

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

  1. Maintain separate and different versions of your mobile and desktop sites.

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

  1. To stop content from being crawled and indexed
  2. To control what pages, appear in search results and the order in which they appear

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

  1. It will disallow crawling of every page and resource on the site
  2. It will disallow crawling of the home page only
  3. It will allow crawling of the home page only

Q57: Select all that apply. What is a canonical URL?

  1. The URL to the duplicate version of a main pillar page

Q58: What is the recommended format for adding structured data to pages?

  1. JSON
  2. Microdata
  3. RDFa

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

  1. When you need to prevent a page from appearing in search results

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

Q61: A skip to content link should skip to which landmark element on the page?

  1. nav
  2. header
  3. section

Q62: Providing text alternatives for non-text content adheres to which WCAG principle?

  1. Operability
  2. Understandability
  3. Robustness

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

  1. True

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

  1. False

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

  1. h1 elements

Q66: 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 }) }}

  1. The script would be added to the head of the document with an async attribute.
  2. The script would be added before the closing body tag with a defer attribute.
  3. The script would be added to the head of the document with a defer attribute.

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

  1. Fetching
  2. Caching
  3. Deferring

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

  1. preload
  2. async
  3. integrity

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

  1. Large video files
  2. Font files

Q70: Select all that apply. What is Cumulative Layout Shift?

  1. A measure of loading performance
  2. A measure of interactivity

Q71: Select all that apply. What is First Input Delay?

  1. Another term for Time to Interactive
  2. A measure of loading performance

Q72: What is the first step of the Critical Rendering Path?

  1. Construction of the CSSOM
  2. Calculating the position and styles of each element
  3. Sending a GET request to the server for the page’s HTML

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

  1. require_js
  2. require_css
  3. get_asset_url

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

  1. require_css
  2. scope_css
  3. extends

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

  1. field group
  2. checkbox
  3. content field

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

  1. True

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

  1. When you want to provide maximum flexibility to content editors
  2. When you want to create a full-width page area

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

  1. An image with alternative text
  2. A button links

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

  1. Some elements of off-page SEO.

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

  1. True

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

  1. Robustness
  2. Perceivability
  3. Understandability

Q82: Creating a user interface that is consistent across pages adheres to which WCAG principle?

  1. Perceivability
  2. Operability
  3. Robustness

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

  1. sufficient color contrast
  2. non-semantic elements
  3. alternative text

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

  1. h4
  2. header
  3. form-label

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

  1. Operable
  2. Perceivable
  3. Understandable

Q86: True or false? Every element should have alternative text.

  1. True

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

  1. False

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

  1. Testing all of your project’s custom modules for accessibility

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

  1. That images have alternative text

Also Read: Integrating With HubSpot I: Foundations Certification Exam Answers

Note: If you have the new question on this test, please comment Question and Multiple-Choice list in form below this article. We will update answers for you in the shortest time. Thank you! We truly value your contribution to the website.

Leave a Reply

Your email address will not be published. Required fields are marked *