h5py 3.15: Diagnose Dataset Writes and Chunked I/O

h5py 3.15: Diagnose Dataset Writes and Chunked I/O

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 20/24. Applied diagnostics for numeric h5py 3.15 datasets: persistent writes, broadcasting, chunk geometry, compression, resizing, selection and bounded-memory reads. Assumes an open writable file unless stated. Excludes parallel HDF5, SWMR, virtual datasets, string encodings and storage latency guarantees. Sources: https://docs.h5py.org/en/3.15.0/high/dataset.html
1 of 24
A chunked integer dataset is created from [7, 8, 9, 10, 11], with maxshape=(None,) and fillvalue=-1. After resizing to (2,) and then (5,), what does d[:] contain?