Question 10 of 32 from exam 300-915-DEVIOT: Developing Solutions using Cisco IoT and Edge Platforms

Question 10 of 32 from exam 300-915-DEVIOT: Developing Solutions using Cisco IoT and Edge Platforms

Question

FROM devhub-docker.cisco.com/iox-docker/ir800/base-rootfs as builder
RUN opkg update

RUN opkg install iox-toolchain

RUN mkdir -p /var/helloworld/

copY helloworld.c /var/helloworld/

WORKDIR /var/helloworld/

RUN gcc helloworld.c -o helloworld

FROM devhub-docker.cisco.com/iox-docker/ir800/base-rootfs

RUN mkdir -p /var/helloworld/

copy --from=builder /var/helloworld/helloworld /var/helloworld
RUN chmod +x /var/helloworld/helloworld

COPY init_app.sh /etc/init.d/

RUN chmod +x /etc/init.d/init_app.sh

RUN update-rc.d init_app.sh defaults

Refer to the exhibit.

When a Docker image is built using this Dockerfile, which two statements are valid on Cisco IOx 1.8 and before? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

BC.