1Z0-1072-25 Question 276
Single answerYour company runs a critical application on an OCI File Storage file system. The development team requests a test environment that mirrors production data. You decide to create a new file system using a snapshot of the production file system. Which approach correctly clones the production data for the test environment?
- A
Use the File Storage console or CLI to create a new file system directly from a snapshot, then mount the new file system to the test environment.
- B
Copy the entire production file system to a local server, zip it, and redeploy it onto a new file system in OCI.
- C
Grant the test environment NFS access to the existing production file system's snapshot and mount it directly from there.
- D
Perform a full backup of the production file system to Object Storage, then restore it as a new file system.
Show answer and explanation
Correct answer: A
Explanation
Creating a test environment that mimics production often involves using snapshots. In OCI File Storage, you can take a snapshot of the production file system and promptly create a cloned file system from that snapshot. This ensures that the test environment has immediate access to consistent and point-in-time data without interfering with production. Refer to the official Oracle Cloud Infrastructure File Storage documentation (Managing File System Snapshots) for step-by-step guidance.
- A. Correct.
Correct. In OCI, you can create a new file system from a snapshot of an existing file system, and then mount this newly created file system to your test environment. This is the recommended way to clone production data for testing without adversely affecting the production file system.
- B. Incorrect.
Incorrect. Manually copying and compressing the entire production file system to a local server is a cumbersome, error-prone approach. It also defeats the convenience of OCI's native snapshot and cloning features.
- C. Incorrect.
Incorrect. Snapshots in OCI File Storage cannot be mounted directly; you must first create a new file system from the snapshot and then mount that file system. Simply pointing the test environment to a snapshot is not supported.
- D. Incorrect.
Incorrect. While backing up to Object Storage and restoring is a valid disaster recovery strategy, it is not the most efficient method to quickly create a clone for testing. OCI File Storage allows you to create a new file system directly from a snapshot, which is faster and more straightforward.