Complete the code to define a volume named 'data_volume' in the Compose file.
volumes:
[1]:The volume name must be exactly 'data_volume' to match the requirement.
Complete the service volume mount to use the volume 'data_volume' at path '/app/data'.
services:
app:
volumes:
- [1]:/app/dataThe volume name 'data_volume' is used directly without path prefixes.
Fix the error in the volume mount syntax to correctly mount 'data_volume' to '/app/data'.
services:
app:
volumes:
- [1]:/app/dataThe volume mount syntax requires a colon ':' between volume name and path, no spaces without colon.
Fill both blanks to define a named volume and mount it to '/var/lib/mysql' in the service.
volumes: [1]: services: db: volumes: - [2]:/var/lib/mysql
The volume name must be consistent in both definition and mount. 'mysql_data' is used for both.
Fill all three blanks to create a volume with driver 'local' and mount it to '/cache' in the service.
volumes: [1]: driver: [2] services: cache: volumes: - [3]:/cache
The volume name 'cache_volume' is used consistently and the driver is 'local'.