Linux Foundation Certified IT Associate Free Sample Questions

Create a free account to browse all 20 sample questions. The full practice test includes 207 questions. Use the simulator for timed and flashcard mode.

Try Simulator

LFCA Sample Questions

  1. Question 1

    Q1

    A financial services firm is launching a new, highly regulated trading application. The project requirements are fully defined, documented, and have received regulatory pre-approval, leaving no room for changes. The project has a fixed deadline and budget. The development team must follow a structured, phase-by-phase process from design to deployment.

    Which project management methodology is most suitable for this scenario?

    Show answer & explanation

    Correct answer: B

    The Waterfall methodology is the most appropriate choice. This model is sequential and requires that each phase (requirements, design, implementation, testing) be fully completed before the next begins. It is ideal for projects where requirements are well-understood, fixed, and unlikely to change, which is the case here due to regulatory pre-approval. Scrum and Kanban are Agile methodologies that are better suited for projects with evolving requirements.

  2. Question 2

    Q2

    A startup is building a mobile backend and wants to focus exclusively on writing application logic in Node.js. They want to avoid all responsibilities related to managing operating systems, server hardware, and runtime environments. The solution must scale automatically based on incoming traffic. Which cloud computing model fulfills these requirements?

    Show answer & explanation

    Correct answer: D

    Function as a Service (FaaS), also known as Serverless computing, is the ideal model. It allows developers to upload and execute code (functions) without managing any underlying infrastructure. The platform handles scaling, patching, and server management automatically. PaaS is a close second, but FaaS better represents the concept of focusing purely on application logic and automatic scaling from zero.

  3. Question 3

    Q3

    A security audit of a web server reveals that it is vulnerable to brute-force SSH login attempts. The administrator wants to implement a tool that automatically blocks IP addresses after a certain number of failed login attempts. Which of the following utilities is specifically designed for this purpose?

    Show answer & explanation

    Correct answer: B

    fail2ban is an intrusion prevention software framework that protects computer servers from brute-force attacks. It works by monitoring log files (e.g., /var/log/auth.log) for patterns of failed login attempts and uses the system firewall to block the offending IP addresses. While ufw and iptables are firewalls that fail2ban can use to block IPs, they do not perform the log scanning and automated blocking themselves.

  4. Question 4

    Q4

    A development team uses Git for version control. A developer needs to integrate recent updates from the main branch into their feature branch. The project manager has mandated a clean, linear project history without any merge commits to make the commit log easier to read. Which command should the developer use to incorporate the main branch updates into the feature branch?

    Show answer & explanation

    Correct answer: C

    The git rebase command is used to re-apply commits from one branch on top of another. By checking out the feature branch and running git rebase main, the developer effectively moves the entire feature branch to begin on the tip of the main branch, incorporating its updates and maintaining a linear history. git merge main would create a merge commit, which violates the stated requirement.

  5. Question 5

    Q5

    During a project planning session for a new e-commerce website, the team is defining requirements. The statement "The website must process 1,000 transactions per second" is an example of what type of requirement?

    Show answer & explanation

    Correct answer: C

    This is a non-functional requirement. Functional requirements define what a system should do (e.g., 'a user must be able to add items to a cart'). Non-functional requirements define how a system should perform a function, specifying criteria like performance, security, and reliability. The ability to handle 1,000 transactions per second is a performance criterion.

  6. Question 6

    Q6

    A system administrator is configuring a backup script using rsync to archive a user's home directory (/home/user) to a backup server. The administrator wants to ensure that bandwidth usage is minimized by only transferring the parts of files that have changed. Which rsync option enables this delta-transfer algorithm?

    Show answer & explanation

    Correct answer: D

    The core functionality of rsync is its delta-transfer algorithm, which is enabled by default. This algorithm intelligently calculates the differences between the source and destination files and only transfers the changed blocks. Options like -a, -v, and -z modify other aspects of the transfer (like preserving permissions, providing verbose output, and compressing data), but the delta transfer is inherent to how rsync operates.

  7. Question 7

    Q7

    A developer wants to create a new software library and release it as open source. They want to allow others to use, modify, and distribute the code, including in proprietary, closed-source commercial products, with the only requirement being that the original copyright notice and license text are included. Which type of open-source license best meets these goals?

    Show answer & explanation

    Correct answer: A

    Permissive licenses, such as the MIT, BSD, or Apache 2.0 licenses, have minimal restrictions on how the software can be used. They allow the code to be integrated into proprietary software without requiring the resulting work to also be open source. Their main condition is the preservation of the original copyright and license notices. A copyleft license like the GPL would require derivative works to also be released under the GPL.

  8. Question 8

    Q8

    An organization is migrating its on-premises infrastructure to the cloud. They have a business-critical application that runs on a custom-configured virtual machine. The IT team wants to replicate their environment in the cloud, giving them full control over the operating system, its configuration, and all installed software. Which cloud service model should they choose?

    Show answer & explanation

    Correct answer: C

    Infrastructure as a Service (IaaS) provides virtualized computing resources over the internet. It offers the highest level of control, as the organization is responsible for managing the operating system, applications, and middleware. This model is equivalent to having a virtual machine in the cloud, which perfectly matches the requirement for full control over the OS and software.

  9. Question 9

    Q9

    True or False: In a Zero Trust security model, any device or user inside the corporate network is automatically trusted and granted access to resources.

    Show answer & explanation

    Correct answer: B

    The statement is false. The core principle of a Zero Trust model is 'never trust, always verify.' It assumes that the internal network is no more secure than the external network. Every access request must be authenticated and authorized, regardless of whether it originates from inside or outside the network perimeter.

  10. Question 10

    Q10

    A DevOps team is building a CI/CD pipeline. The process involves several distinct stages: compiling the code, running unit tests, packaging the application into a container, and deploying it to a staging environment. Which of the following diagrams best represents this workflow?

    flowchart TD A[Start] --> B{Code Commit} B --> C[Compile Code] C --> D[Run Unit Tests] D --> E[Package Application] E --> F[Deploy to Staging] F --> G[End]
    Show answer & explanation

    Correct answer: A

    The diagram correctly illustrates a typical CI/CD pipeline. The Continuous Integration (CI) part includes compiling code and running tests upon commit. The Continuous Deployment (CD) part involves automatically packaging the application and deploying it to an environment like staging. This automated, sequential workflow is the foundation of CI/CD.

Register free to unlock 10 more sample questions

Create a free account to continue with the rest of the LFCA sample set.

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 207 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon