PROFESSIONAL-CLOUD-DEVELOPER · Question #297
PROFESSIONAL-CLOUD-DEVELOPER Question #297: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #297. The question stem and answer options stay visible for context.
Question
You recently deployed an application to GKE where Pods are writing files to a Compute Engine persistent disk. You have created a PersistentVolumeClaim (PVC) and a PersistentVolume (PV) object on Kubernetes for the disk, and you reference the PVC in the deployment manifest file. You recently expanded the size of the persistent disk because the application has used up almost all of the disk space. You have logged on to one of the Pods, and you notice that the disk expansion is not visible in the container file system. What should you do?
Options
- ASet the spec.capacity.storage value of the PV object to match the size of the persistent disk.
- BRecreate the application Pods by running the kubectl delete deployment DEPLOYMENT_NAME
- CSet the spec.resources.requests.storage value of the PVC object to match the size of the
- DIn the Pod, resize the disk partition to the maximum value by using the fdisk or parted utility.
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.