AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 7


DRAG DROP -

You plan to use containerized versions of the Anomaly Detector API on local devices for testing and in on-premises datacenters.

You need to ensure that the containerized deployments meet the following requirements:

✑ Prevent billing and API information from being stored in the command-line histories of the devices that run the container.

✑ Control access to the container images by using Azure role-based access control (Azure RBAC).

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Select and Place:

Show Answer
Correct Answer:

Step 1: Pull the Anomaly Detector container image.

Step 2: Create a custom Dockerfile

Step 3: Push the image to an Azure container registry.

To push an image to an Azure Container registry, you must first have an image.

Step 4: Distribute the docker run script

Use the docker run command to run the containers.

Reference:

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-intro

Discussion

17 comments
Sign in to comment
dinhhungitsoft
May 5, 2022

I think the it should be: 1. Create a custom docker file 2. Pull the container image (in the dockerfile) 3. Build the image 4 Push to ACR

sheldon73
Jun 8, 2023

This makes more sense, In the custom docker file you can define : FROM azure_image...

Aouatef
Jul 14, 2024

1 - the custom dockerfile prevents the billing information from being stored in commandline histories 2 - pull and build are necessary to take into account the requirements defined in the dockerfile 3 - Push to acr where we can define RBAC access rules to the new image

mmaguero
May 25, 2023

ChatGPT: To meet the requirements, perform the following actions in sequence: 1. Create a custom Dockerfile: This allows you to define the specific configuration and dependencies for your containerized deployment. 2. Build the image: Use the Dockerfile to build the container image with the necessary components and configurations. 3. Push the image to an Azure container registry: Store the container image in an Azure container registry to control access and ensure secure storage. 4. Distribute a docker run script: Provide a docker run script that can be used to run the containerized deployment on local devices or in on-premises datacenters. This script should include any necessary environment variables or configuration settings. Note: The actions of pulling the Anomaly Detector container image and pushing the image to Docker Hub are not mentioned in the requirements. Therefore, they are not necessary for meeting the given requirements.

rdemontis
Nov 1, 2023

I agree with you except for the explanation in the endnote: for me your answer is correct, but the reason why the pull of the anomaly detector image is irrelevant is because you put it in the dockerfile. So it is not necessary to specify this instruction separately otherwise we would have to do the same for all commands in the dockerfile.

anto69
Jan 8, 2024

agree with u

serj
Jul 12, 2024

Does the step "Distribute a docker run script" contradict the requirement "Prevent billing and API information from being stored in the command-line histories of the devices that run the container."?

evangelist
Feb 11, 2024

check Azure official on youtube: https://www.youtube.com/watch?v=XLQLNazid4I The steps should be 1. Pull the container image (in the dockerfile) 2. Create a custom docker file 3. Build the image 4 Push to ACR

mgafar
Apr 20, 2023

1) Create a custom Docker file 2) Build the image 3) Push the image to an Azure container registry 4) Distribute a docker run script

tolliik
May 1, 2024

1. Create. 2. Build. 3. Push 4. Run Instruction example hello-world image https://learn.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task-cli

vovap0vovap
May 28, 2024

Yeah, but instructions say "datacenters" - plural. That means basically that step "Distribute a docker run script" is there for a reason.

acsoma
Aug 2, 2023

appeared in august exam

varinder82
Mar 25, 2024

Final Answer: 1.Create a custom Dockerfile 2.Build the image 3.Push the image to an Azure container registry 4.Distribute a docker run script:

Rsp_
Nov 24, 2023

Its totally confusing, what should be exact answer

Murtuza
Mar 13, 2024

I think the it should be: 1. Pull the container image (in the dockerfile) 2. Create a custom docker file 3. Build the image 4 Push to ACR

qs99
Jan 22, 2024

Was on exam 22 Jan 2024

TJ001
May 10, 2024

1. Pull the image 2. Create dockerfile 3. Build 4. Run 5. Push to ACR if required

TJ001
May 31, 2024

while this order is fine technically, after reading the question again i think it is important to push the image to ACR to manage RBAC..So skipping the docker pull and instead pull directly from MCR in the dockerfile is better so my 4 choices are below 1. Create dockerfile 2. Build 3. Push to ACR if required 4. Run

rookiee1111
Jun 23, 2024

1. Pull the anomaly detector 2. build docker file 3. build image 4. publish to ACR this now will become source for all devices to pull the image and run from ACR.

TJ001
May 10, 2024

it is important to note NOTE: More than one order of answer choices is correct.

nanaw770
May 24, 2024

1.Create a custom Dockerfile 2.Build the image 3.Push the image to an Azure container registry 4.Distribute a docker run script From Takedajuku perspective, if you study for 4 days and spend 2 days reviewing, you will have a better chance of passing the exam.

hidenori_music
May 27, 2024

I took this exam yesterday. The same case study questions were asked, although the ET has those questions scattered around instead of grouped together. Please note.

omankoman
Jun 1, 2024

To pass this exam, you will need to separate and memorise each of the following categories: ‘Yes/No questions that are presented in sequence and cannot be reversed once a decision has been made’, ‘Yes/No three-choice questions’, ‘Drag and Drop drop drop-down selection questions’ and ‘Drag and Drop sorting questions’. Do your best. I did that, memorized all the questions and passed.

SAMBIT
Jul 13, 2024

Pull the Anomaly Detector container image (b): Start by retrieving the official Anomaly Detector container image from a registry. You can use the docker pull command to download it. Create a custom Dockerfile (a): Next, create a custom Dockerfile that defines the instructions for building your specific image. Customize it to include your requirements, such as preventing sensitive information from being stored in command-line histories. Build the image (e): Use the Dockerfile to build your custom image. This step compiles the necessary components and configurations. Push the image to an Azure container registry (d): Finally, store your custom image in an Azure container registry. This ensures controlled access and secure storage.