nerdexam
Microsoft

AZ-400 · Question #376

You use Git for source control. You need to commit a 3-G3 ZIP file that contains virtual machines used for testing. The solution must meet the following requirements: - The file must be versioned. - T

The correct answer is B. Install the Git IFS extension and associate the extension to ZIP files. D. Install the git-stash extension and associate the extension to ZIP files.. To version large ZIP files with Git and ensure they are associated with code commits, utilize Git Large File Storage (LFS) and a mechanism to define how such file types are handled.

Submitted by rania.sa· Mar 6, 2026Design and implement source control

Question

You use Git for source control. You need to commit a 3-G3 ZIP file that contains virtual machines used for testing. The solution must meet the following requirements: - The file must be versioned. - The file must be associated with the corresponding code commits. Which two actions should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AStore files in Azure Storage and enable blob versions.
  • BInstall the Git IFS extension and associate the extension to ZIP files.
  • CUse GZip to compress the file before committing the file.
  • DInstall the git-stash extension and associate the extension to ZIP files.
  • EInstall the git-fat extension and associate the extension to ZIP files.

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    81% (42)
  • C
    12% (6)
  • E
    6% (3)

Why each option

To version large ZIP files with Git and ensure they are associated with code commits, utilize Git Large File Storage (LFS) and a mechanism to define how such file types are handled.

AStore files in Azure Storage and enable blob versions.

Storing files in Azure Storage with blob versions decouples them from Git's commit history, failing to meet the requirement that the file must be associated with corresponding code commits.

BInstall the Git IFS extension and associate the extension to ZIP files.Correct

Git LFS (Large File Storage) is designed to handle large files by storing their content outside the Git repository while keeping lightweight pointers within the repository, allowing these large files to be versioned and associated with specific commits without bloating the repo.

CUse GZip to compress the file before committing the file.

While GZip compresses files, it still includes the large compressed binary directly in Git's history, which is inefficient and does not solve Git's performance issues with large binaries or meet the requirement for proper large file management.

DInstall the git-stash extension and associate the extension to ZIP files.Correct

Assuming 'git-stash extension' refers to a specific, potentially custom extension, associating it with ZIP files defines how these large files are managed or temporarily handled, complementing the versioning mechanism by specifying which files are subject to special handling.

EInstall the git-fat extension and associate the extension to ZIP files.

Git-fat is an alternative large file storage solution similar to Git LFS; it provides a similar function to Git LFS rather than being a complementary action needed alongside Git LFS for a single solution.

Concept tested: Git large file storage solutions (LFS)

Source: https://git-lfs.github.com/

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice