Salesforce Certified B2C Commerce Cloud Developer - Comm-Dev-101무료 덤프문제 풀어보기
Given the SFRA Controller below:
01varserver=require( ' server ' );
02varcache=require( ' */cartridge/scripts/middleware/cache ' );
03
04server.get( ' Show ' ,cache.applyDefaultCache,function(req,res,next) {
05viewData={name: ' my string ' };
06res.render( ' /pages/mypage ' ,viewData);
07next();
08});
09
10module.exports=server.exports();
Why would a JavaScript debugger, that is stopped at line 06, fail to show the viewData variable in the inspection tool?
01varserver=require( ' server ' );
02varcache=require( ' */cartridge/scripts/middleware/cache ' );
03
04server.get( ' Show ' ,cache.applyDefaultCache,function(req,res,next) {
05viewData={name: ' my string ' };
06res.render( ' /pages/mypage ' ,viewData);
07next();
08});
09
10module.exports=server.exports();
Why would a JavaScript debugger, that is stopped at line 06, fail to show the viewData variable in the inspection tool?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
Which method should a developer use to create a service instance that will call a remote web service?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
What is the expected result when extending a route without the middleware chain?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
A developer has these requirements for out-of-stock products:
* Save the SKUs of the out-of-stock products that the customer is interested in.
* Save the customer email regardless if the customer is a guest or registered.
* Email the customer when the product is back-in-stock.
Which step should the developer perform as part of the solution to achieve the requirements?
* Save the SKUs of the out-of-stock products that the customer is interested in.
* Save the customer email regardless if the customer is a guest or registered.
* Email the customer when the product is back-in-stock.
Which step should the developer perform as part of the solution to achieve the requirements?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
A developer needs to update the package.json file so that it points to the hook file for a cartridge, using the hooks keyword.
Which snippet works correctly when added to the file?
Which snippet works correctly when added to the file?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
What is the result when the code segment executes with the logger configuration?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
Which item is appropriate content for custom logs implemented at checkout?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
Which ISML tag should a developer use to avoid code repetition in common header and footer layout?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
A developer needs to render a Page Designer page in JSON format. What is the correct syntax?
정답: C
설명: (Fast2test 회원만 볼 수 있음)