Question 41 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 41 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

DRAG DROP -

“"" Instantiate a UCS Service Profile from template and associate

from ucsmsdk.ucshandle import UcsHandle
from ucsmsdk.mometa.ls.LsBinding import LsBinding
from ucsmsdk.mometa.ls.LsServer import LsServer

HANDLE =[item1|(

"ucs-deveore.cisco.com",
"admin",
"password"

HANDLE [item2]()

sp_paom_remprare = [Team 3]

parent_mo_or_dn="org-root/org-devnet",
="devcore-server-01
sxc_templ_name="devcore template",
instance"

LsBinding(
parent no ox dno{iaam 4]
pn_dn="sys/chassis-7/blade-3"

)

HANDLE SP_FROM_TEMPLATE, modify present=True)

HANDLE {| item 6}
sanose [Fea 7}

Refer to the exhibit above and click on the resource tabs in the top left corner to view resources to help with this question.

Python code that uses the UCS Python SDK is instantiating a service profile named 'devcore-server-01' from service profile template 'devcore_template', then associating the service profile instance to blade 3 in chassis 7

Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the Python exhibit.

Select and Place:

add_me

UcsHandle
LsServer
SP_FROM_TEMPLATE

<item 1>

<item 2>

<item 3>

<item 4>

<item 5>

<item 6>

<item 7>

Explanations

UcsHandle
=|
add_me
LsServer
SP_FROM_TEMPLATE

logout

commit