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
When using HubSpot Projects (developer projects), what does the `hs project deploy` command do?
Answer: Builds and deploys serverless functions and CRM extensions defined in the project
`hs project deploy` compiles and deploys serverless functions, CRM cards, and other project components to the connected portal.
What is the maximum execution timeout for a HubSpot serverless function?
Answer: 30 seconds
HubSpot serverless functions have a hard timeout of 30 seconds per execution.
A HubSpot serverless function needs to access a private API key. What is the recommended way to store and reference it?
Answer: Store it as a secret using `hs secrets add` and reference it via `process.env`
HubSpot Secrets are encrypted environment variables added via CLI and accessed in functions through `process.env.SECRET_NAME`.
Which HTTP methods are supported by HubSpot serverless function endpoints?
Answer: GET, POST, PUT, and DELETE
HubSpot serverless functions support GET, POST, PUT, and DELETE request methods.
In a HubSpot developer project, where are serverless functions defined relative to the project folder structure?
Answer: In a `.functions` folder within the project
Serverless functions reside inside a `.functions` directory which contains both the function JS files and a `serverless.json` config.
What does the `serverless.json` file inside a `.functions` folder define?
Answer: The endpoint paths and which function files handle each route
`serverless.json` maps URL endpoint paths to their corresponding function handler files and specifies allowed HTTP methods.
When a HubSpot CRM card (UI extension) is deployed via `hs project deploy`, where does it appear for end users?
Answer: On CRM record pages as a custom sidebar or middle panel card
CRM cards appear as custom UI panels on Contact, Company, Deal, or Ticket record pages in the CRM.
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