โ† All HAC Flashcard Decks

DevOps & Deployment Flashcards

7 cards from real HAC practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 DevOps & Deployment flashcards as text
  1. A HubSpot admin notices that a recently deployed module change is not appearing on live pages despite a successful `hs upload`. What is the most likely cause?

    Answer: CDN caching is serving the old version of the module

    HubSpot's CDN caches assets aggressively; purging the cache or waiting for TTL expiration is required for changes to appear.

  2. In HubSpot CMS Hub, which feature allows you to test different versions of a page template before fully committing to the change?

    Answer: Staging URLs generated by Design Manager preview mode

    Design Manager provides preview URLs for templates so developers can review changes without affecting the live published page.

  3. What is the role of `package.json` in a HubSpot developer project that uses custom UI extensions?

    Answer: It manages npm dependencies for React-based UI extension components

    HubSpot UI extensions use React, and `package.json` manages the npm dependencies and build scripts for the extension's frontend code.

  4. Which HubSpot CLI command builds a developer project locally before deploying, allowing you to catch errors early?

    Answer: hs project build

    `hs project build` runs the local build process for the project, surfacing compilation errors before you attempt a deploy.

  5. An admin is setting up a post-deploy hook to notify the team via Slack after a successful HubSpot project deployment. Where would this webhook call logic be implemented?

    Answer: In the CI/CD pipeline (e.g., GitHub Actions step) running after `hs project deploy`

    Since HubSpot doesn't natively emit deploy webhooks, post-deploy notifications are handled in the CI/CD pipeline as a subsequent step after the deploy command.

  6. What is the significance of the `buildCommand` field in a HubSpot project's `hsproject.json` file?

    Answer: It defines the shell command to run for building project assets before upload

    The `buildCommand` in `hsproject.json` tells the HubSpot build system which script to execute (e.g., `npm run build`) to compile project assets.

  7. A HubSpot developer needs to delete a serverless function secret that is no longer needed. Which CLI command accomplishes this?

    Answer: hs secrets delete

    `hs secrets delete ` permanently removes the specified secret from the connected HubSpot portal.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy