CompTIA
XK0-006 · Question #68
A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?
The correct answer is C. Linting generated code. Linting ensures that AI-generated infrastructure-as-code (IaC) follows proper syntax, formatting, and best practices. This helps prevent errors, enforces consistency, and improves security before
Automation, Orchestration, and Scripting
Question
A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?
Options
- AUsing copy and paste when possible
- BGenerating monolithic code
- CLinting generated code
- DMerging CI/CD pipelines
How the community answered
(28 responses)- B4% (1)
- C96% (27)
Explanation
Linting ensures that AI-generated infrastructure-as-code (IaC) follows proper syntax, formatting, and best practices. This helps prevent errors, enforces consistency, and improves security before
Topics
#AI-generated code#linting#infrastructure as code#best practices
Community Discussion
No community discussion yet for this question.