nerdexam
CompTIA

XK0-005 · Question #368

A Linux administrator execute the following steps in this order: 1. Changes some software code 2. Commits the changes to the Git repository 3. Triggers a job to compile 4. Execute some test scripts…

The correct answer is C. Test automation. The described sequence, which includes compiling code, executing test scripts, packaging, and publishing, exemplifies a process heavily reliant on test automation within a Continuous Integration pipeline.

Scripting, Containers, and Automation

Question

A Linux administrator execute the following steps in this order: 1. Changes some software code 2. Commits the changes to the Git repository 3. Triggers a job to compile 4. Execute some test scripts 5. Packages the software package 6. Publishes the software packages to a package repository Which of the following orchestration processes is the administrator using?

Options

  • ABuild automation
  • BDeployment automation
  • CTest automation
  • DInfrastructure automation

How the community answered

(49 responses)
  • A
    10% (5)
  • B
    6% (3)
  • C
    82% (40)
  • D
    2% (1)

Why each option

The described sequence, which includes compiling code, executing test scripts, packaging, and publishing, exemplifies a process heavily reliant on test automation within a Continuous Integration pipeline.

ABuild automation

Build automation primarily covers compiling and packaging, but the described process also explicitly includes automated testing, which is a distinct and crucial part of the overall orchestration that 'Build automation' alone does not fully encompass.

BDeployment automation

Deployment automation refers to automatically deploying software to target environments, which typically occurs after the package has been built, tested, and published to a repository, as described in step 6.

CTest automationCorrect

The administrator's workflow involves making code changes, committing them to Git, then triggering an automated job that compiles the code, executes test scripts, packages the software, and publishes it. The execution of test scripts (step 4) is a core component of this process, directly corresponding to test automation, which is critical for ensuring code quality and is a fundamental part of Continuous Integration.

DInfrastructure automation

Infrastructure automation focuses on provisioning and managing the underlying infrastructure, not the specific stages of software build, test, and release cycles described here.

Concept tested: Continuous Integration/Continuous Delivery (CI/CD) pipeline stages; Software development process

Source: https://docs.microsoft.com/en-us/devops/develop/what-is-ci-cd

Topics

#Test Automation#CI/CD Pipelines#Automated Builds#Git

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice