Crowdly
Додати до Chrome
Questions Bank (1536231 total)
Which of the following ensures correct volume declaration and usage in `docker-compose.yaml` for storing flagged files?
Add `volumes: - /flagged:/flagged` under the service definition.
0%
Add `volumes: - ./flagged:/flagged` under the service definition.
0%
Add `volumes: - /flagged:/app/flagged` under the service definition.
0%
Add `volumes: - ./flagged:/app/flagged` under the service definition.
0%
Переглянути це питання
How can you correctly limit the maximum amount of RAM a container can use in `docker-compose.yaml`?
Add `memory: 8g` under the service definition.
0%
Add `mem_limit: 8g` under the service definition.
0%
Add `ram_limit: 8g` under the service definition.
0%
Add `resources: memory: 8g` under the service definition.
100%
Переглянути це питання
Calculate the current ratio for firm Beta
1.67
0%
3.65
0%
none of the answers is correct
0%
2.59
0%
Переглянути це питання
In the context of the Dockerized Gradio application for stage 2, which of the following ensures that the Gradio interface is correctly set up for image input and output?
`gr.Interface(fn=sepia, inputs=gr.Image(), outputs=gr.Image())`
0%
`gr.Interface(fn=sepia, inputs=gr.Image(), outputs=gr.Text())`
0%
`gr.Interface(fn=sepia, inputs=gr.Text(), outputs=gr.Text())`
0%
`gr.Interface(fn=sepia, inputs=gr.Text(), outputs=gr.Image())`
0%
Переглянути це питання
Which of the following is an example of proper version pinning in a `requirements.txt` file?
`gradio==3.23.0`
100%
`gradio`
0%
`gradio<=3.23.0`
0%
`gradio>=3.23.0`
0%
Переглянути це питання
You have successfully built and started your Docker container for the Gradio "Hello World" application. The container is configured to expose the service on port `7860`. How can you test that the service is running correctly?
Run `curl http://localhost:7860` from your host machine
0%
Run `docker exec -it
curl http://127.0.0.1:7860`
0%
Open a web browser and navigate to `http://localhost:7860`
100%
Run `docker logs
` and check for errors
0%
Переглянути це питання
Calculate the interest cover ratio for firm Alpha
7.58
✅
54.12
❌
38.88
❌
none of the answers is correct
❌
Переглянути це питання
Calculate the ROSF ratio for firm Alpha
68.94%
0%
88.62%
0%
60.97%
0%
none of the answers is correct
0%
Переглянути це питання
Which of the following ensures that the code is run by a user named `appuser` in the container?
`RUN useradd appuser` followed by `USER root`
0%
`RUN adduser appuser` followed by `USER root`
0%
`RUN useradd appuser` followed by `USER appuser`
0%
`RUN adduser --disabled-password --home /app appuser` followed by `USER appuser`
100%
Переглянути це питання
What is the correct way to ensure the `requirements.txt` file is used and copied in the container?
`RUN pip install -r requirements.txt`
0%
`RUN pip install requirements.txt`
0%
`COPY requirements.txt /app/` followed by `RUN pip install --no-cache-dir -r /app/requirements.txt`
0%
`COPY requirements.txt /app/` followed by `RUN pip install requirements.txt`
0%
Переглянути це питання
Попередня
1
Більше сторінок
139038
139039
139040
139041
139042
Більше сторінок
153624
Наступна
Telegram
Instagram
TikTok
Question Bank
Умови використання
Зв'яжіться з нами
Додати до Chrome