GitHub Actions / CERTIFICATION PREP

GitHub Actions 题库与备考

GitHub Certified: GitHub Actions

GitHub Certified: GitHub Actions 是认证,主要面向DevOps engineers building and managing CI/CD pipelines、CI/CD engineers automating software delivery with GitHub。

会员 A$19.9/月或单买本认证题库,价格在购买页核对

题库含章节练习、限时模考、错题复习与学习报告;题干和选项是英文,和真考一致,解析用中文。

试练不用注册;注册后,试练结果、错题和学习进度都保存在你的账号里。

GitHub Actions · 考证匠题库

GitHub Actions

90 道练习题 · 英文题干 · 中文解析

90 分钟 · 65 题 · 70 / 100

开始免费试练 →
90 道收录练习题
3 个章节按考纲领域练习
JR Academy 出品匠人学院 · 考证匠
KNOW THE EXAM

GitHub Actions 考什么、怎么考

考试代码GitHub Actions
考试时长90 分钟
题量65 题
及格分70 / 100
考试语言English
有效期3 年
3 个章节与知识点
  1. GitHub Actions Exam Overview:Master GitHub Actions workflow syntax, triggers, jobs, steps, and matrix strategies for CI/CD automation.
  2. Actions:Build custom JavaScript/Docker actions, composite actions, and publish to GitHub Marketplace with proper versioning.
  3. Exam Preparation & Practice:Enterprise runner management, OIDC authentication, secrets hierarchy, and security hardening for GitHub Actions at scale.
HOW IT WORKS

三步开始备考

01

免费试练

不用注册,直接做 GitHub Actions 试练题,看答案和中文讲解。

开始试练
02

注册保存进度

用邮箱注册匠人账号,试练结果、错题和学习记录自动保存。

免费注册
03

按章节练,限时模考

按考纲章节刷题,用限时模考检查节奏,错题自动进入复习。

查看题库权益
CHOOSE YOUR STUDY ACCESS

单买这门,或用匠人会员备考

价格为澳元。已有匠人会员,用同一个账号登录,先核对权益再购买。

只准备这一门

GitHub Actions 题库

本认证题库、解析、模考、错题与学习报告。价格与访问期限在购买页核对。

核对题库购买权益
匠人会员

基础会员

A$19.9/月

年付 A$169,折合 A$14.08/月。包含认证课程访问权益,具体内容以本认证购买页为准。

查看匠人会员
以下费用单独计算

官方考试报名费不包含在题库或会员价格中;AI Tutor 按 Credits 另计。练习成绩不等于通过官方考试。

会员价格核对日期 2026-10-23,实际结算以购买页为准。

常见问题

GitHub Actions 考试主要考哪些内容?需要多少实际使用经验?

考试覆盖 4 个核心领域:(1) 编写和维护 Workflows(约 40%,占比最大);(2) 使用 Workflows(约 20%);(3) 自定义 Actions 开发(约 20%);(4) 安全与合规(约 20%)。建议至少有 3-6 个月的 GitHub Actions 实际使用经验,能够独立编写包含多 job、矩阵策略、条件执行和 artifact 管理的 workflow。纯靠背题很难通过,因为考试注重实际场景应用。

GitHub Actions 的 YAML workflow 语法是考试重点吗?需要记住哪些关键字?

是的,YAML workflow 语法是考试最核心的部分。必须熟记的关键字包括:on(触发器:push、pull_request、schedule、workflow_dispatch)、jobs、steps、runs-on、uses、with、env、secrets、needs(job 依赖)、if(条件执行)、strategy.matrix(矩阵构建)、continue-on-error、timeout-minutes。还需要理解 ${{ }} 表达式语法、上下文对象(github、env、secrets、steps)以及内置函数(contains、startsWith、toJSON)。

Self-hosted runners 和 GitHub-hosted runners 的区别是考试重点吗?

是的,这是高频考点。GitHub-hosted runners 由 GitHub 管理,每次 job 使用全新虚拟机(ubuntu-latest、windows-latest、macos-latest),无需维护但有使用时长限制。Self-hosted runners 由您自己管理,适合需要特定硬件、软件或网络访问的场景,可以保留缓存和工具链。考试会考:何时选择 self-hosted runner、安全注意事项(不要在公开仓库使用 self-hosted runner)、runner 组和标签管理。

Reusable Workflows 和 Composite Actions 有什么区别?考试怎么考?

Reusable Workflows 是完整的 workflow 文件,通过 workflow_call 事件被其他 workflow 调用,支持 inputs 和 secrets 参数传递,运行在独立的 runner 上。Composite Actions 是将多个步骤打包成一个自定义 Action,使用 action.yml 定义,在调用者的 runner 上执行。考试常考的场景:跨仓库共享 CI/CD 逻辑用 Reusable Workflows,封装可复用的构建步骤用 Composite Actions。还需了解 Reusable Workflows 最多嵌套 4 层的限制。

GitHub Actions 中的 Secrets 和环境保护规则怎么考?

安全是考试的重要领域(约 20%)。需要掌握:(1) Secrets 的三个层级(Organization → Repository → Environment),优先级从低到高;(2) Secrets 在日志中自动脱敏(masking),但通过 base64 编码等方式仍可能泄露;(3) Environment Protection Rules(Required Reviewers、Wait Timer、Deployment Branches)用于控制生产环境部署;(4) GITHUB_TOKEN 的权限范围和 permissions 关键字的使用;(5) OpenID Connect (OIDC) 用于无密钥云服务认证。

GitHub Actions 认证和 GitHub Foundations 有什么关系?需要先考 Foundations 吗?

不需要先考 Foundations。GitHub Actions 是独立认证,直接测试 CI/CD 和自动化工作流的专业知识。但如果您对 GitHub 平台(仓库管理、PR 流程、分支策略)不太熟悉,先考 Foundations 会帮助您建立基础。Actions 考试假设您已了解 GitHub 基本操作,重点考察 workflow 编写、调试、优化和安全实践。两个认证面向不同受众:Foundations 适合所有 GitHub 用户,Actions 适合 DevOps 工程师和 CI/CD 专业人员。

YOUR NEXT STEP

先做一组 GitHub Actions 试练题。

备考路线、职业价值和常见误区,见匠人学院的 GitHub Actions 考试指南 ↗